Build precise queries to find exactly what you need
Press ESC to close
Your review has been submitted and is pending approval.
Do a Nagios check if a ping is OK.
Current Version
Last Release Date
June 22, 2009
Owner
Nagios Exchange
Website
http://www.kps-consulting.com/index.php?id=537
heck_ifpingok -H -C
Do the given check_command if the ping check of hostname is OK. If ping is not OK than an OK is assumed. If ping is OK the statuscode and message of the check_command is returned.
-H, --hostname=STRING name or ip of the srver to be checked
-C, --check_command=STRING Nagios check command to be executed if ping was ok
-v --verbose debugging output
Nagios command example: command_line $USER1$/check_ifpingok -H $HOSTADDRESS$ -C "$USER1$/check_printer -H $HOSTADDRESS$"
Please check the place where to find "utils.pm", change if necessary.
use lib "/usr/lib/nagios/plugins" ;
You must be logged in to submit a review.
To:
From: