Monitoring one IPCheck instance with another instance of
IPCheck
The system status URL can be used to easily monitor an
instance from a copy of IPCheck Server Monitor running on another system. This
way you can be notified if an IPCheck system fails.
Simply create an Advanced HTTP sensor, enter the URL of
your System Status page (e.g. http://ipcheckserver/status?pass=815686003E9D4BDB8D8520B34545627C)
and put the word “_ERROR” (without the quotes) into the Response
may not include field.
As long as IPCheck runs fine the sensor will show an UP
status, as soon as IPCheck discovered a problem internally, it outputs an
"XXX_ERROR" string on the status page. This is caught by the sensor which will
change to the DOWN state.
You can even create several of these sensors monitoring the
following strings:
·
CPULOAD_ERROR
·
WEBSERVER_ERROR
·
HEARTBEAT_ERROR
·
DISKSPACE_ERROR
·
PROBE_ERROR
·
ADMINDEP1_ERROR
·
ADMINDEP2_ERROR
Most measurement points also can have a warning state that
you may want to monitor for. You can put the word “_WARNING” (without the
quotes) into the Response may not include field and you will be
notified whenever a warning shows up – or you can monitor the following specific
strings:
·
CPULOAD_WARNING
·
WEBSERVER_WARNING
·
HEARTBEAT_WARNING
·
DISKSPACE_WARNING
·
PROBE_WARNING
·
ADMINDEP1_WARNING
·
ADMINDEP2_WARNING
Finally you can also monitor the other way round by
scanning for “_OK” in the HTML of the page – or you can monitor the
following specific strings:
·
CPULOAD_OK
·
WEBSERVER_OK
·
HEARTBEAT_OK
·
DISKSPACE_OK
· PROBE_OK
·
ADMINDEP1_OK
·
ADMINDEP2_OK