[Nagiosplug-help] Bug in check_icmp/MODE_HOSTCHECK? (1.4.11)

Wolfgang Barth wob at swobspace.de
Fri Dec 28 14:05:45 CET 2007


Hi,

I'm using check_icmp from nagios-plugins-1.4.11. check_host is a symlink to
check_icmp.

time ./check_icmp -H 172.17.129.3
 CRITICAL - 172.17.129.3: rta nan, lost 100%|\
 rta=0.000ms;200.000;500.000;0; pl=100%;40;80;; 
 0.000u 0.000s 0:03.62 0.0%      0+0k 0+0io 0pf+0w
               ^^^^^^ OK

time ./check_host -H 172.17.129.3
 CRITICAL - 172.17.129.3: rta nan, lost 100%|\
 rta=0.000ms;1000.000;1000.000;0; pl=100%;100;100;; 
 0.000u 0.000s 0:10.00 0.0%      0+0k 0+0io 0pf+0w
               ^^^^^^ BAD

The host does not exist. round about 3 seconds after the first icmp packet
a router answers with ICMP host unreachable. check_icmp aborts, check_host
not.

In earlier versions of Andreas Ericsson's check_icmp the goal of check_host
was to abort immediately after such an ICMP host unreachable:

With check_icmp-2005-06-01:

time ./check_host -H 172.17.129.3
 172.17.129.3 is DOWN - Host unreachable @ 172.17.130.65; rta: nan, lost 100%|\
 pkt=6;5;5;5;5 pl=100%;95;100;;
 0.000u 0.000s 0:03.03 0.0%      0+0k 0+0io 0pf+0w
               ^^^^^^^ OK

With check_icmp from nagios-plugins-1.4.9:

time ./check_icmp -H 172.17.129.3
 CRITICAL - 172.17.129.3: Host unreachable @ 172.17.130.65. rta nan, lost 100%|\
 rta=0.000ms;200.000;500.000;0; pl=100%;40;80;; 
 0.000u 0.004s 0:03.03 0.0%      0+0k 0+0io 0pf+0w
               ^^^^^^^ OK

Wolfgang
-- 
<wob (at) swobspace de> * http://www.swobspace.de




More information about the Help mailing list