Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
host check that will check if all or any services are OK, if not the host is down.
Current Version
2.0
Last Release Date
2012-02-15
Owner
Jorge Schrauwen
Compatible With
This host check will check all services belonging to a host. If all are OK, the host is UP. If one or more are in warning/critical the host will be DOWN.
You can use the following command definition: define command { command_name check_host_services command_line $USER1$/check_host_services -H $HOSTNAME$ --mode=all }
Note the $HOSTNAME$ macro!
Credits where credit is due: I'm using the perl modules located here: http://exchange.nagios.org/directory/Addons/APIs/Perl/Nagios-3A-3AStatus-3A-3A*/details
Since they also allow me to easily get the OK checks.
versions: 2.0: - switched to Nagios::Status::* framework - rewrote entire code to have it a bit cleaner - added a mode option to select any or all. - all: all checks must be OK or host is down. - any: if all checks are in a state other than ok, the host is down. - added performance data
1.0: - initial release
This is what i was waiting for a long time. Thanks,
You must be logged in to submit a review.
To:
From: