From 375f8e354039c4c924bf922ae4725faa352dbd7d Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Tue, 11 Dec 2012 10:08:05 -0500 Subject: [PATCH] nagios: disable flap detection. This will ensure that we always get state change alerts, even when the service is changing states frequently. (imported from commit 57fa5a941dd1a6042eb782dbac2fed0e4cb934ba) --- servers/puppet/files/nagios3/conf.d/generic-host_nagios2.cfg | 2 +- servers/puppet/files/nagios3/conf.d/generic-service_nagios2.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/puppet/files/nagios3/conf.d/generic-host_nagios2.cfg b/servers/puppet/files/nagios3/conf.d/generic-host_nagios2.cfg index 7f68665dbd..542549b8aa 100644 --- a/servers/puppet/files/nagios3/conf.d/generic-host_nagios2.cfg +++ b/servers/puppet/files/nagios3/conf.d/generic-host_nagios2.cfg @@ -4,7 +4,7 @@ define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled - flap_detection_enabled 1 ; Flap detection is enabled + flap_detection_enabled 0 failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts diff --git a/servers/puppet/files/nagios3/conf.d/generic-service_nagios2.cfg b/servers/puppet/files/nagios3/conf.d/generic-service_nagios2.cfg index 59f10a87e2..9b7c22444e 100644 --- a/servers/puppet/files/nagios3/conf.d/generic-service_nagios2.cfg +++ b/servers/puppet/files/nagios3/conf.d/generic-service_nagios2.cfg @@ -8,7 +8,7 @@ define service{ check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled - flap_detection_enabled 1 ; Flap detection is enabled + flap_detection_enabled 0 failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts