Module: check_mk
Branch: master
Commit: 28d18c9f123598ca710fe346585fc92f784c4f2c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=28d18c9f123598…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Aug 23 11:26:46 2012 +0200
Added wato function to setup flapdetection for serivces
---
web/plugins/wato/check_mk_configuration.py | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index d4e5d7c..09bebcb 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -736,6 +736,17 @@ register_rule(group,
),
itemtype = "service")
+register_rule(group,
+ "extra_service_conf:flap_detection_enabled",
+ DropdownChoice(
+ title = _("Enable/disable flapping detection for services"),
+ help = _("This setting allows you to disable the flapping detection for a
"
+ "service completely."),
+ choices = [ ("1", _("Enable flap detection")),
+ ("0", _("Disable flap detection")) ],
+ ),
+ itemtype = "service")
+
group = "monconf/Inventory and Check_MK settings"
register_rule(group,