host shows down but it is not

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Oct 15 00:14:24 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14/10/09 11:30 AM, Joe Konecny wrote:
> 
> Here is a tcpdump of plain Nagios pinging...
> 
> 11:23:50.328519 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 18478, seq 1, length 64
> 11:23:50.329365 IP adsl-79.dacor.net > 10.0.0.4: ICMP echo reply, id 18478, seq 1, length 64
> 11:23:51.328739 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 18478, seq 2, length 64
> 11:23:51.329368 IP adsl-79.dacor.net > 10.0.0.4: ICMP echo reply, id 18478, seq 2, length 64
> 11:23:52.327735 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 18478, seq 3, length 64
> 11:23:52.328472 IP adsl-79.dacor.net > 10.0.0.4: ICMP echo reply, id 18478, seq 3, length 64
> 11:23:53.326740 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 18478, seq 4, length 64
> 11:23:53.327578 IP adsl-79.dacor.net > 10.0.0.4: ICMP echo reply, id 18478, seq 4, length 64
> 11:23:54.327788 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 18478, seq 5, length 64
> 11:23:54.328478 IP adsl-79.dacor.net > 10.0.0.4: ICMP echo reply, id 18478, seq 5, length 64
> 
> Here is a tcpdump of check_mk pinging...
> 
> 11:29:24.042801 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 58673, seq 0, length 64
> 11:29:24.043603 IP adsl-79.dacor.net > 10.0.0.4: ICMP echo reply, id 58673, seq 0, length 64
> 11:29:24.043768 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 58673, seq 0, length 64
> 11:29:24.124046 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 58673, seq 0, length 64
> 11:29:24.204417 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 58673, seq 0, length 64
> 11:29:24.284728 IP 10.0.0.4 > adsl-79.dacor.net: ICMP echo request, id 58673, seq 0, length 64

The problem with check_mk pinging is that the ICMP sequence number
doesn't increase. Some devices treat this as a duplicate packed and
ignore it (I'm not sure what the RFC specify but this is probably the
correct behaviour).

Just use the non-mk host check command for the host definition with the
check_mk command for services and you should be fine.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFK1k1A6dZ+Kt5BchYRAmdwAJ9ScKAjci3LLSvWOpEml4/wxjAsiQCg9hII
5jiOYrO+IcFrUMaQanRp/8Y=
=FqrR
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list