Module: check_mk
Branch: master
Commit: a8b43f2306ac3bcfad6ba9e3683700f7596cbc4f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a8b43f2306ac3b…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Aug 23 12:26:44 2012 +0200
Added wato function to setup active checks for services
---
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 7cbe0ee..de590e2 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -642,6 +642,17 @@ register_rule(group,
),
itemtype = "service")
+register_rule(group,
+ "extra_service_conf:active_checks_enabled",
+ DropdownChoice(
+ title = _("Enable/disable active checks for services"),
+ help = _("This setting allows you to disable or enable "
+ "active checks for a service."),
+ choices = [ ("1", _("Enable active checks")),
+ ("0", _("Disable active checks")) ],
+ ),
+ itemtype = "service")
+
group = "monconf/Notifications"
register_rule(group,
"extra_host_conf:notifications_enabled",