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 Greg,
>
> Tuesday, April 22, 2003, 2:16:36 PM, you wrote:
>
> >> what wrong?
> GP> hmmm, not sure... but it works for me. Maybe you need search domains
> GP> listed in your /etc/resolv.conf?
> /etc/resolv.conf have a line about search domain:
>
> # grep search /etc/resolv.conf
> search mynet.lan mynet.wan
>
> GP> [net-mgmt]:[/usr/local/libexec/nagios]:>./check_ping -H proxy -w
> GP> 3000.0,80% -c 5000.0,100% -p 1
> GP> PING OK - Packet loss = 0%, RTA = 0.63 ms
>
> GP> [net-mgmt]:[/usr/local/libexec/nagios]:>cat /etc/resolv.conf
> GP> domain dolaninformation.com
> GP> search dolaninformation.com dolanmedia.com banko.com
> GP> nameserver 10.1.1.28
> GP> nameserver 10.1.1.15
>
> GP> net-mgmt is running FreeBSD 4.7-Stable and Nagios 1.0.
>
> You tested name like "LETTERS"...and my name of host, (that not
> pinged) was like "LETTERS-DASH-DIGITS" ("3Com-4050").
>
> May be, Nagios cant resolve name with DASH?
>

Ah, good point. But a name with letters&dashes&numbers stills works for
me.

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


Does ./check_ping -H 3Com-4050.mynet.lan -w 3000.0,80% -c 5000.0,100% -p
1 work correctly?

Which version of check_ping are you using? I'm using....
[net-mgmt]:[/tmp/goober/nagiosplug-1.3-beta1/plugins]:>/usr/local/libexec/nagios/check_ping
-V
check_ping (nagios-plugins 1.3.0-alpha1) 1.3

greg





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: greg.panula@dolaninformation.com
Locked