Module: check_mk
Branch: master
Commit: 19a370576ded3b4238d5974661b32c64244e5df7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=19a370576ded3b…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Fri Jul 10 11:19:01 2015 +0200
added rule for smoke detectors
---
web/plugins/wato/check_parameters.py | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 33e3ea8..5803c9d 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -7210,6 +7210,22 @@ register_check_parameters(
)
register_check_parameters(
+ subgroup_environment,
+ "smoke",
+ _("Smoke Detection"),
+ Tuple(
+ help = _("For devices which measure smoke in percent"),
+ elements = [
+ Percentage(title = _("Warning at"), allow_int = True,
default_value= 1),
+ Percentage(title = _("Critical at"), allow_int = True,
default_value= 5),
+ ]),
+ TextAscii(
+ title = _("Sensor ID"),
+ help = _("The identifier of the sensor.")),
+ "first",
+)
+
+register_check_parameters(
subgroup_environment,
"apc_ats_output",
_("APC Automatic Transfer Switch Output"),