Simple check_ping question

Daniel Ceola DCeola at twgi.net
Wed Dec 12 15:53:01 CET 2012


Hello all,

Is it meant for the "check_ping" command from the Nagios plugins to not function when using a host name instead of an IP address?  I have a handful of hosts that I've setup within Nagios that I want to monitor the ping time (as well as a few other items) on, but since they are dhcp clients, I have the host within Nagios setup with the hostname on my local network instead of an IP address.

When I do a simple check_ping using the hostname (which I have entered as the local FQDN, not just a short name), it returns a "Network Unreachable" error.

Example:
nagios at nagios:/usr/local/nagios/libexec$ ./check_ping -H dceola.twgi.net -w 400,20% -c 600,50%
CRITICAL - Network Unreachable (dceola.twgi.net)

Thanks,

Daniel Ceola

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20121212/931e9b10/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list