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

SourceForge.net <[email protected]>
Newsgroups gmane.network.nagios.plugins.devel
Message-ID <[email protected]>
Bugs item #3518671, was opened at 2012-04-16 23:06
Message generated for change (Comment added) 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: Closed
>Resolution: Fixed
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: Holger Weiss (hweiss)
Date: 2012-06-24 17:10

Message:
This problem is now fixed in Git. Thank you for your report.

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

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________________
Nagios Plugin Development Mailing List Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.