[Nagiosplug-devel] [ nagiosplug-Bugs-3518671 ] check_icmp throws an error on "Address unreachable"

SourceForge.net noreply at sourceforge.net
Mon May 28 16:14:52 CEST 2012


Bugs item #3518671, was opened at 2012-04-16 23:06
Message generated for change (Settings changed) made by hweiss
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3518671&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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Bernhard Schmidt (bschmidt)
>Assigned to: Holger Weiss (hweiss)
Summary: check_icmp throws an error on "Address unreachable"

Initial Comment:
$ ,/check_ping -H isatap-g.srv.lrz.de -w '200,10%' -c '400,50%' -6 -p 5 --verbose --verbose --verbose --verbose
CMD: /bin/ping6 -n -U -w 10 -c 5 isatap-g.srv.lrz.de
Output: PING isatap-g.srv.lrz.de(2001:4ca0:0:107::a9c:ca0b) 56 data bytes
Output: 
Output: --- isatap-g.srv.lrz.de ping statistics ---
Output: 10 packets transmitted, 0 received, 100% packet loss, time 9057ms
Output: 
PING CRITICAL - Packet loss = 100%|rta=400.000000ms;200.000000;400.000000;0.000000 pl=100%;10;50;0
200.000000:10% 400.000000:50%

$ ./check_ping -H isatap-g.srv.lrz.de -w '200,10%' -c '400,50%' -6 -p 5 --verbose --verbose --verbose --verbose
CMD: /bin/ping6 -n -U -w 10 -c 5 isatap-g.srv.lrz.de
Output: PING isatap-g.srv.lrz.de(2001:4ca0:0:107::a9c:ca0b) 56 data bytes
Output: From 2001:4ca0:0:55::5 icmp_seq=1 Destination unreachable: Address unreachable
Output: 
Output: --- isatap-g.srv.lrz.de ping statistics ---
Output: 4 packets transmitted, 0 received, +1 errors, 100% packet loss, time 3000ms
Output: 
/bin/ping6 -n -U -w 10 -c 5 isatap-g.srv.lrz.de
CRITICAL - Could not interpret output from ping command



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

Comment By: Bernhard Schmidt (bschmidt)
Date: 2012-04-16 23:55

Message:
Fixed in
https://github.com/bernhardschmidt/nagios-plugins/commit/ff098243ab9e41696f91df99135d80546cefecbc,
I sent a pull request.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=3518671&group_id=29880




More information about the Devel mailing list