From: Gunnar Beutner Date: Mon, 9 Feb 2015 13:23:09 +0000 (+0100) Subject: Disable flapping detection by default X-Git-Tag: v2.3.0~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=96aa503dbedf8f69349beceef2c08af075a1e364;p=icinga2 Disable flapping detection by default fixes #6868 --- 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; }}}