check_ping won't timeout
Thomas Stocking
tstocking at insynccom.com
Sat Mar 29 02:06:23 CET 2003
Chris,
I would use check_fping. It's faster, and seems less prone to this sort of
thing.
Thomas
Thomas Stocking, GCIA, GCIH
Captech Partners
thomas at captech.com
http://www.captech.com
(415) 507-9267
Date: Fri, 28 Mar 2003 14:46:21 -0500
To: nagios-users at lists.sourceforge.net
From: Chris Brown <chris at in-motion.net>
Subject: [Nagios-users] check_ping won't timeout
I have about 100 check_ping commands in my nagios configuration.
When I remove the ethernet cable from one of my hosts that it is trying to
"check_ping",
the nagios system hangs and waits for that ping to timeout.
When I do some investigation, the command it is executing is:
/bin/ping -n -U -c 5 10.1.1.1
In other words, on RedHat, the -c parameter in ping waits for the count.
How can I modify this command to use -w instead of -c ?
The only thing I can see that I can modify is the check_ping command
parameters, not the command it is actually executing.
Or, how can I make it timeout correctly?
Thank you,
Chris Brown
chris at in-motion.net
-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
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