Module: check_mk
Branch: master
Commit: 316e7df2a3b8ef11a7cb457dfe189bfeb524b472
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=316e7df2a3b8ef…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Mon Sep 3 16:10:31 2012 +0200
Wato: Added flapping detection rule for Hosts
---
web/plugins/wato/check_mk_configuration.py | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/web/plugins/wato/check_mk_configuration.py
b/web/plugins/wato/check_mk_configuration.py
index fb11fa9..951d479 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -802,6 +802,16 @@ register_rule(group,
itemtype = "service")
register_rule(group,
+ "extra_host_conf:flap_detection_enabled",
+ DropdownChoice(
+ title = _("Enable/disable flapping detection for hosts"),
+ help = _("This setting allows you to disable the flapping detection for a
"
+ "host completely."),
+ choices = [ ("1", _("Enable flap detection")),
+ ("0", _("Disable flap detection")) ],
+ ))
+
+register_rule(group,
"extra_service_conf:flap_detection_enabled",
DropdownChoice(
title = _("Enable/disable flapping detection for services"),