From 96aa503dbedf8f69349beceef2c08af075a1e364 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Mon, 9 Feb 2015 14:23:09 +0100 Subject: [PATCH] Disable flapping detection by default fixes #6868 --- doc/5-object-types.md | 4 ++-- lib/icinga/checkable.ti | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/5-object-types.md b/doc/5-object-types.md index 443a36d26..75dd39b9f 100644 --- a/doc/5-object-types.md +++ b/doc/5-object-types.md @@ -37,7 +37,7 @@ Configuration Attributes: enable\_active\_checks|**Optional.** Whether active checks are enabled. Defaults to true. enable\_passive\_checks|**Optional.** Whether passive checks are enabled. Defaults to true. enable\_event\_handler|**Optional.** Enables event handlers for this host. Defaults to true. - enable\_flapping|**Optional.** Whether flap detection is enabled. Defaults to true. + enable\_flapping|**Optional.** Whether flap detection is enabled. Defaults to false. enable\_perfdata|**Optional.** Whether performance data processing is enabled. Defaults to true. event\_command |**Optional.** The name of an event command that should be executed every time the host's state changes or the host is in a `SOFT` state. flapping\_threshold|**Optional.** The flapping threshold in percent when a host is considered to be flapping. @@ -145,7 +145,7 @@ Configuration Attributes: enable\_active\_checks|**Optional.** Whether active checks are enabled. Defaults to true. enable\_passive\_checks|**Optional.** Whether passive checks are enabled. Defaults to true. enable\_event\_handler|**Optional.** Enables event handlers for this host. Defaults to true. - enable\_flapping|**Optional.** Whether flap detection is enabled. Defaults to true. + enable\_flapping|**Optional.** Whether flap detection is enabled. Defaults to false. enable\_perfdata|**Optional.** Whether performance data processing is enabled. Defaults to true. event\_command |**Optional.** The name of an event command that should be executed every time the service's state changes or the service is in a `SOFT` state. flapping\_threshold|**Optional.** The flapping threshold in percent when a service is considered to be flapping. diff --git a/lib/icinga/checkable.ti b/lib/icinga/checkable.ti index 41eadc61c..f0e61594e 100644 --- a/lib/icinga/checkable.ti +++ b/lib/icinga/checkable.ti @@ -72,7 +72,7 @@ abstract class Checkable : CustomVarObject default {{{ return true; }}} }; [config] bool enable_flapping (EnableFlappingRaw) { - default {{{ return true; }}} + default {{{ return false; }}} }; [config] bool enable_perfdata (EnablePerfdataRaw) { default {{{ return true; }}} -- 2.40.0