Ping timeouts
Torleiv Ringer
tringer at mpr.org
Tue Jun 14 15:42:56 CEST 2005
On Tue, 2005-06-14 at 09:22 -0400, Raful Mr Mitchell H wrote:
> Is there anyway to extend the 500ms maximum for ping timeouts in
> either nagios 1.x or 2.x. I have satellite backup connections and the
> delay is definitely above that for some locations.
For your check_command on your hosts you can make your own ping command
in checkcommands.cfg.
I use something like this:
# 'check_wan_alive' command definition
define command{
command_name check_wan_alive
command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c
10000.0,100% -p 5 -t 30
}
This has a 30 second timeout, a 3000ms until warning with 80% packet
loss and a 10000ms latency and 100% packet loss before critical. Works
for almost all of my connections (SatIP, Frame, DSL).
--
Torleiv Ringer
Broadcast Systems Administrator
Minnesota Public Radio
http://www.mpr.org
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
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