README
controlio-check-http
A check module for controlio.
Description
Requsts a HTTP/HTTPS URL and checks the HTTP status code.
Options
hostname
: Use this if the URL is simply 'http://HOSTNAME/'. If not defined, hostname is read from the host configuration, and defaults to localhosturl
: Alternatively set the full URL with this option. If not set, defaults to 'http://HOSTNAME/'status
: The HTTP status code to expect. Defaults to200
.
TODO
domain
is used to catch errors from http. According to the documentation this is a bad idea. Fix it.