nagios: Tweaked config for large installation

This commit is contained in:
Ossi Salmi 2013-07-17 13:53:31 +03:00
parent 307010a103
commit 64db9faec5
3 changed files with 8 additions and 8 deletions

View file

@ -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
}

View file

@ -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

View file

@ -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