[Nagiosplug-help] check_ping: invalid hostname/address

Michael Shoemaker shoemake at ispalliance.net
Tue Mar 15 17:47:53 CET 2011


Having some problems on a solaris box with check_ping, was hoping 
someone had some suggestions.


/usr/local/nagios/libexec # ./check_ping -H localhost -w 3000.0,80% -c 
5000.0,100% -p 1
check_ping: Invalid hostname/address - localhost
Usage:check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
  [-p packets] [-t timeout] [-4|-6]

/usr/local/nagios/libexec # ./check_http -H america.net
HTTP OK HTTP/1.1 200 OK - 581 bytes in 0.012 seconds 
|time=0.011879s;;;0.000000 size=581B;;;0

/usr/local/nagios/libexec # ./check_ntp_time -H xxxxx.america.net -w 0.5 
-c 1
check_ntp_time: Invalid hostname/address - xxxxx.america.net
Usage: check_ntp_time -H <host> [-w <warn>] [-c <crit>] [-W <warn>] [-C 
<crit>]
        [-j <warn>] [-k <crit>] [-v verbose]

The check_http shows that it should be able to do resolution.




More information about the Help mailing list