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

SourceForge.net noreply at sourceforge.net
Fri Nov 26 07:01:04 CET 2004


Bugs item #1073779, was opened at 2004-11-26 17:00
Message generated for change (Tracker Item Submitted) made by Item Submitter
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: Nobody/Anonymous (nobody)
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


----------------------------------------------------------------------

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