[Nagiosplug-devel] [ nagiosplug-Bugs-1073779 ] check_ping & Fedora Core 1/2/3

SourceForge.net noreply at sourceforge.net
Sat Nov 27 11:38:30 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-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