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
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" ;
You must be logged in to submit a review.
To:
From:
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!