Home Directory Plugins Others check_ifpingok

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_ifpingok

Rating
0 votes
Favoured:
0
Hits
91869
Files:
FileDescription
check_ifpingokcheck if ping is OK
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Do a Nagios check if a 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" ;