From 64db9faec550af3dd69809c641fe48c9987796e7 Mon Sep 17 00:00:00 2001 From: Ossi Salmi Date: Wed, 17 Jul 2013 13:53:31 +0300 Subject: [PATCH] nagios: Tweaked config for large installation --- nagios/files/commands.cfg | 4 ++-- nagios/files/nagios.cfg.Debian | 6 +++--- nagios/files/nagios.cfg.RedHat | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/nagios/files/commands.cfg b/nagios/files/commands.cfg index b08ad52..29eda2a 100644 --- a/nagios/files/commands.cfg +++ b/nagios/files/commands.cfg @@ -50,12 +50,12 @@ 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 # average time to produce a critical error. -# Note: Five ICMP echo packets are sent (determined by the '-p 5' argument) +# 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 3000.0,80% -c 5000.0,100% -p 5 + command_line $USER1$/check_ping -4 -H $HOSTADDRESS$ -w 2000.0,75% -c 4000.0,100% -p 4 } diff --git a/nagios/files/nagios.cfg.Debian b/nagios/files/nagios.cfg.Debian index 6f02f7e..f55c67a 100644 --- a/nagios/files/nagios.cfg.Debian +++ b/nagios/files/nagios.cfg.Debian @@ -430,7 +430,7 @@ max_concurrent_checks=0 # This is the frequency (in seconds!) that Nagios will process # the results of host and service checks. -check_result_reaper_frequency=10 +check_result_reaper_frequency=5 @@ -1215,7 +1215,7 @@ daemon_dumps_core=0 # Values: 1 - Enabled tweaks # 0 - Disable tweaks (default) -use_large_installation_tweaks=0 +use_large_installation_tweaks=1 @@ -1229,7 +1229,7 @@ use_large_installation_tweaks=0 # Values: 1 - Enable environment variable macros (default) # 0 - Disable environment variable macros -enable_environment_macros=1 +enable_environment_macros=0 diff --git a/nagios/files/nagios.cfg.RedHat b/nagios/files/nagios.cfg.RedHat index 99fab7a..9c56430 100644 --- a/nagios/files/nagios.cfg.RedHat +++ b/nagios/files/nagios.cfg.RedHat @@ -431,7 +431,7 @@ max_concurrent_checks=0 # This is the frequency (in seconds!) that Nagios will process # the results of host and service checks. -check_result_reaper_frequency=10 +check_result_reaper_frequency=5 @@ -1232,7 +1232,7 @@ daemon_dumps_core=0 # Values: 1 - Enabled tweaks # 0 - Disable tweaks (default) -use_large_installation_tweaks=0 +use_large_installation_tweaks=1 @@ -1246,7 +1246,7 @@ use_large_installation_tweaks=0 # Values: 1 - Enable environment variable macros (default) # 0 - Disable environment variable macros -enable_environment_macros=1 +enable_environment_macros=0