From 442e4985c3d5ebc1395927f01276048a973df888 Mon Sep 17 00:00:00 2001 From: Steve Wilkerson Date: Fri, 1 Feb 2019 08:31:31 -0600 Subject: [PATCH] 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 --- nagios/values.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nagios/values.yaml b/nagios/values.yaml index 74e2da9fe..839dcb826 100644 --- a/nagios/values.yaml +++ b/nagios/values.yaml @@ -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