Module: check_mk
Branch: master
Commit: 42498adfbe9132a7958463c32ed98e8e3f9ead36
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=42498adfbe9132…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Thu Aug 23 11:36:43 2012 +0200
Added wato function to setup processing of perfdata for services
---
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 09bebcb..9f64d7b 100644
--- a/web/plugins/wato/check_mk_configuration.py
+++ b/web/plugins/wato/check_mk_configuration.py
@@ -620,6 +620,16 @@ register_rule(group,
"rule. You can use the rule for the active Check_MK check,
however.")),
itemtype = "service")
+register_rule(group,
+ "extra_service_conf:process_perf_data",
+ DropdownChoice(
+ title = _("Enable/disable processing of perfdata for services"),
+ help = _("This setting allows you to disable the processing of perfdata for
a "
+ "service completely."),
+ choices = [ ("1", _("Enable processing of perfdata")),
+ ("0", _("Disable processing of perfdata")) ],
+ ),
+ itemtype = "service")
group = "monconf/Notifications"
register_rule(group,