Module: check_mk
Branch: master
Commit: 6a74873cf55fcc46576f96814332f2a712c61d5f
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6a74873cf55fcc…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Aug 23 12:21:08 2012 +0200
Added wato function to setup processing of passiv check results 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 9f64d7b..7cbe0ee 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -631,6 +631,17 @@ register_rule(group,
),
itemtype = "service")
+register_rule(group,
+ "extra_service_conf:passive_checks_enabled",
+ DropdownChoice(
+ title = _("Enable/disable proccessing of passiv check results for
services"),
+ help = _("This setting allows you to disable the processing of passiv check
results for a "
+ "service."),
+ choices = [ ("1", _("Enable processing of passiv check
results")),
+ ("0", _("Disable processing of passiv check
results")) ],
+ ),
+ itemtype = "service")
+
group = "monconf/Notifications"
register_rule(group,
"extra_host_conf:notifications_enabled",