Incorrect results returned by check_ping

Karl DeBisschop karl at debisschop.net
Sat Feb 22 06:08:12 CET 2003


On Tue, 2003-02-18 at 01:21, Erik Carlseen wrote:
> I'm getting *occasional* bizzare results returned by check_ping for
> devices that are on the same 10/100 switch as the box running Nagios.
> Typically the results are off by 1-3 orders of magnitude (reporting
> 25-285 ms where the actual delay is 200-400ns).  This problem comes
> and goes, but it's particularly annoying as it generates about 20-30
> false alarms per day. I've run a separate ping command through ssh to
> verify that the results are, in fact, erroneous.
> 
> Has anyone else experienced this?

I haven't seen any replies, so I'll take a guess. My apologies if the
issue has already been resloved.

Usually if check_ping is working at all, it works well reliably. Thus, I
would first trust the monitor and do many checks and duoble checks of
the network.

My starting point would be to make sure that all affected ports are
correctly set. Check the port - is it half-duplax when you are expecting
full? (Under linux the 'mii-tool' program will help you in this)

If the switch can be monitored, use telnet or SNMP to determine the
status of the relevent ports on the switch. They obviously must agree
exactly.

Another thing I would check is the gateway. I had some servers that we
moved from DHCP to an non-DHCP environment. We had had the gateway
device specified, but forgot the add the gateway IP address during the
move. The servers at first worked perfectly - the switch may have
somehow had the routes cached or smething. But it later started to fail
in ways that sound similar to what you describe.

Of course the intermittancy makes diagnosis much more difficult, so I
widh you the best of luck.

If you do wish to look in more detail at the nagios implementation, be
sure to include such info as the affected OSs and the version of nagios
in your followups.

--
Karl



-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
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