Bug in check_ping on Fedora Core 1?

Rob Emanuele rje at shoreis.com
Wed Apr 21 09:02:48 CEST 2004


So I've been using Nagios for the past few weeks.

Hosts never seemed to make themselves as down once they are up so I looked into the check_ping command....

I made sure 192.168.201.51 is unreachable.  When I run check ping like:

[root at foo plugins]# ./check_ping -H 192.168.201.51 -w 3000.0,80% -c 5000.0,100% -p 1
/bin/ping  -n -U -c 192.168.201.51
Error: Could not interpret output from ping command

Running ping:

[root at foo plugins]# /bin/ping  -n -U -c 192.168.201.51
PING 192.168.201.51 (192.168.201.51) 56(84) bytes of data.
>From 192.168.201.1 icmp_seq=0 Destination Host Unreachable
 
--- 192.168.201.51 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms, pipe 2

Maybe the check_ping command needs to be updated.

Thanks,

Rob




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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