Re: [Nagios-devel] nagios bug report

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] nagios bug report

Post by Guest »

martin mcflysr wrote:
>
> Hello nagios-devel,
>
> NAGIOS Version 1.0 November 24, 2002 from freebsd ports.
>
> FreeBSD 4.8-PRERELEASE
>
> # ./check_ping -H 172.16.0.226 -w 3000.0,80% -c 5000.0,100% -p 1
> PING OK - Packet loss = 0%, RTA = 1.13 ms
>
> #./check_ping -H 3Com-4050 -w 3000.0,80% -c 5000.0,100% -p 1
> check_ping: Invalid host name/address - 3Com-4050
> Usage:
> check_ping -H -w ,%% -c ,%%
> [-p packets] [-t timeout] [-L]
>
> check_ping (-h | --help) for detailed help
> check_ping (-V | --version) for version information
>
> but:
>
> # ping 3Com-4050
> PING 3COm-4050.mynet.lan (172.16.0.206): 56 data bytes
> 64 bytes from 172.16.0.206: icmp_seq=0 ttl=30 time=1.101 ms
> 64 bytes from 172.16.0.206: icmp_seq=1 ttl=30 time=1.050 ms
> ^C
>
> what wrong?
>

hmmm, not sure... but it works for me. Maybe you need search domains
listed in your /etc/resolv.conf?

[net-mgmt]:[/usr/local/libexec/nagios]:>./check_ping -H proxy -w
3000.0,80% -c 5000.0,100% -p 1
PING OK - Packet loss = 0%, RTA = 0.63 ms

[net-mgmt]:[/usr/local/libexec/nagios]:>cat /etc/resolv.conf
domain dolaninformation.com
search dolaninformation.com dolanmedia.com banko.com
nameserver 10.1.1.28
nameserver 10.1.1.15

net-mgmt is running FreeBSD 4.7-Stable and Nagios 1.0.

greg





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked