[Nagiosplug-help] check_ping: invalid hostname/address
Jim Avery
jim at jimavery.me.uk
Tue Mar 15 21:07:34 CET 2011
On 15 March 2011 19:07, Michael Shoemaker <shoemake at ispalliance.net> wrote:
> # ping localhost
> localhost is alive
>
> # grep localhost /etc/hosts
> 127.0.0.1 localhost
>
> resolv.conf contains the nameservers we use (all valid)
>
> we are not using nis, but the hosts entry is below (just in case)
> hosts: files dns
>
>
> # ./check_ping -H 127.0.0.1 -w 3000.0,80% -c 5000.0,100% -p 1
> check_ping: Invalid hostname/address - 127.0.0.1
> Usage:check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>%
> [-p packets] [-t timeout] [-4|-6]
>
> I had checked the ip prior, I just forgot to include it in the notes.
Curious. I don't have a Solaris system to try myself. As a
workaround you could try check_icmp or check_fping instead.
More information about the Help
mailing list