Check-ping Vs. Mac address table expiration

Drew Weaver drew.weaver at thenap.com
Fri Mar 27 13:24:38 CET 2009


A very small number of hosts on my network serve important roles but aren't always in the MAC address table of the switch they're connected to. Their MAC address assignment gets timed out by the default (i think its 5 minutes) because no data has been sent to them in that amount of time.

For whatever reason, no matter what I do it seems like check-ping always thinks there is a problem.

The response from the rarely used host looks like:

Pinging 192.168.1.8 with 32 bytes of data:
Reply from 192.168.1.8: bytes=32 time=397ms TTL=63
Reply from 192.168.1.8: bytes=32 time<1ms TTL=63
Reply from 192.168.1.8: bytes=32 time<1ms TTL=63
Reply from 192.168.1.8: bytes=32 time<1ms TTL=63

397ms because the switch has to do ARP, etc...

Any suggestions how I can avoid this?

So far i've tried adding -p 5 to the check-ping in hopes that it would somehow use the average of the 5 pings.

thanks,
-Drew


------------------------------------------------------------------------------
_______________________________________________
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