[Nagiosplug-devel] [ nagiosplug-Bugs-1629008 ] check_ping fails to handle Packet filtered error
SourceForge.net
noreply at sourceforge.net
Fri Jan 5 20:20:50 CET 2007
Bugs item #1629008, was opened at 2007-01-05 19:20
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=1629008&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parsing problem
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Chris Allen (cdallen)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_ping fails to handle Packet filtered error
Initial Comment:
The current (CVS/1.4.5 both) version of check_ping fails to handle this output from ping (ping utility, iputils-ss020927)
[chrisa at silver plugins]$ ping -c 5 -n 10.179.15.254
PING 10.179.15.254 (10.179.15.254) 56(84) bytes of data.
>From 194.81.46.13 icmp_seq=3 Packet filtered
>From 194.81.46.13 icmp_seq=4 Packet filtered
--- 10.179.15.254 ping statistics ---
5 packets transmitted, 0 received, +2 errors, 100% packet loss, time 4001ms
, pipe 2
and produces:
[chrisa at silver plugins]$ ./check_ping -H 10.179.15.254 80 100 300.0 500.0
/bin/ping -n -U -w 10 -c 5 10.179.15.254
CRITICAL - Could not interpret output from ping command
[chrisa at silver plugins]$ echo $?
3
I've attached a (bad) patch against CVS/1.4.5 which I believe fixes the issue in a safe and functional, but hideous manner. I look forward to this Just Working in future versions of Nagios.
Thanks,
Chris Allen
Lancaster University Network Services Ltd
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1629008&group_id=29880
More information about the Devel
mailing list