[Nagiosplug-devel] [ nagiosplug-Bugs-1073779 ] check_ping & Fedora Core 1/2/3
SourceForge.net
noreply at sourceforge.net
Tue Nov 30 19:18:01 CET 2004
Bugs item #1073779, was opened at 2004-11-26 07:00
Message generated for change (Comment added) made by mattkent
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1073779&group_id=29880
Category: Parsing problem
Group: CVS
Status: Open
Resolution: None
Priority: 5
Submitted By: Eugene_B (b_eugene)
Assigned to: Matthew Kent (mattkent)
Summary: check_ping & Fedora Core 1/2/3
Initial Comment:
./check_ping -H 192.168.1.1 -w 100,20% -c 500,60%
/bin/ping -n -U -w 10 -c 5 192.168.1.1
Error: Could not interpret output from ping command
-----------------------
I make change in source code of check_ping.c:
437c437
< sscanf(buf,"rtt
min/avg/max/mdev = %*f/%f/%*f/%*f ms",&rta)==1)
---
> sscanf(buf,"rtt
min/avg/max/mdev = %f/%f/%f/%f ms",&rta)==1)
------------------------
and
./check_ping -H 192.168.1.1 -w 100,20% -c 500,60%
PING OK - Packet loss = 0%, RTA = 0,00 ms
----------------------------------------------------------------------
>Comment By: Matthew Kent (mattkent)
Date: 2004-11-30 19:17
Message:
Logged In: YES
user_id=983566
Yeah that's identical to the output of my core 3 server. Are
you using a fairly recent version of the plugins? Can you
try one from a recent cvs-head snapshot
http://nagiosplug.sourceforge.net/snapshot/ ?
----------------------------------------------------------------------
Comment By: Eugene_B (b_eugene)
Date: 2004-11-29 02:16
Message:
Logged In: YES
user_id=1166750
/bin/ping -n -U -w 10 -c 5 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=0.357 ms
...
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2000ms
rtt min/avg/max/mdev = 0.315/0.332/0.357/0.027 ms, pipe 2
----------------------------------------------------------------------
Comment By: Matthew Kent (mattkent)
Date: 2004-11-27 11:36
Message:
Logged In: YES
user_id=983566
Just tested the latest snapshot against fedora core 3 and it
works as expected.
Can you paste me the output of your
/bin/ping -n -U -w 10 -c 5 192.168.1.1
command?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1073779&group_id=29880
More information about the Devel
mailing list