Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_ifpingok
92910
File | Description |
---|---|
check_ifpingok | check if ping is OK |
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" ;
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" ;
Reviews (0)
Be the first to review this listing!