Nagios: Reduce Nagios concurrent checks and workers
This reduces the maximum concurrent checks Nagios will execute to prevent process sprawl on the host. This also reduces the number of default workers to a single worker, to prevent Nagios from forking off multiple processes that then execute service checks and commands in parallel Change-Id: I0d8445a265740b4a2491bdfd739cb0f27955f06d
This commit is contained in:
parent
6ef3f58fb8
commit
442e4985c3
@ -1107,7 +1107,7 @@ conf:
|
||||
service_interleave_factor: s
|
||||
host_inter_check_delay_method: s
|
||||
max_host_check_spread: 30
|
||||
max_concurrent_checks: 300
|
||||
max_concurrent_checks: 10
|
||||
check_result_reaper_frequency: 10
|
||||
max_check_result_reaper_time: 30
|
||||
check_result_path: /opt/nagios/var/spool/checkresults
|
||||
@ -1138,7 +1138,7 @@ conf:
|
||||
retained_contact_host_attribute_mask: 0
|
||||
retained_contact_service_attribute_mask: 0
|
||||
interval_length: 1
|
||||
check_workers: 4
|
||||
check_workers: 1
|
||||
check_for_updates: 1
|
||||
bare_update_check: 0
|
||||
use_aggressive_host_checking: 0
|
||||
|
Loading…
Reference in New Issue
Block a user