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
93251
Files:
FileDescription
check_ifpingokcheck if ping is OK
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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" ;