From 9054f4a5f850f1386dc0ea0555f4418003f615f8 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Mon, 22 Jul 2013 11:16:16 +0300 Subject: [PATCH] nagios: Tighten the limits for check-host-alive --- nagios/files/commands.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nagios/files/commands.cfg b/nagios/files/commands.cfg index 29eda2a..ed1656b 100644 --- a/nagios/files/commands.cfg +++ b/nagios/files/commands.cfg @@ -48,14 +48,14 @@ define command{ # This command checks to see if a host is "alive" by pinging it -# The check must result in a 100% packet loss or 5 second (5000ms) round trip +# The check must result in a 100% packet loss or 2 second (2000ms) round trip # average time to produce a critical error. # Note: Four ICMP echo packets are sent (determined by the '-p 4' argument) # 'check-host-alive' command definition define command{ command_name check-host-alive - command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w 2000.0,75% -c 4000.0,100% -p 4 + command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w 1000.0,50% -c 2000.0,100% -p 4 }