Module: check_mk
Branch: master
Commit: 44a1e8c72e8797766c7e7dbc6a38e1d960f1db75
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=44a1e8c72e8797…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Jan 30 18:40:39 2012 +0100
WATO: new checkgroup msx_queues. used in winperf_msx_queues
---
checks/winperf_msx_queues | 1 +
web/plugins/wato/check_parameters.py | 26 ++++++++++++++++++++++++++
2 files changed, 27 insertions(+), 0 deletions(-)
diff --git a/checks/winperf_msx_queues b/checks/winperf_msx_queues
index df3dc27..f63a1a8 100644
--- a/checks/winperf_msx_queues
+++ b/checks/winperf_msx_queues
@@ -83,3 +83,4 @@ def check_winperf_msx_queues(item, params, info):
check_info['winperf_msx_queues'] = (check_winperf_msx_queues, "Queue
%s", 1, inventory_winperf_msx_queues)
check_config_variables.append("winperf_msx_queues")
+checkgroup_of["winperf_msx_queues"] = "msx_queues"
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 8c1ff89..abddd1b 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -419,6 +419,32 @@ checkgroups.append((
))
checkgroups.append((
+ "msx_queues",
+ _("MS Exchange message queues"),
+ Tuple(
+ help = _("The length of the queues"),
+ elements = [
+ Integer(title = _("Warning at queue length")),
+ Integer(title = _("Critical at queue length"))
+ ]),
+ OptionalDropdownChoice(
+ title = _("Explicit Queue Names"),
+ help = _("You can enter a number of explicit queues names that "
+ "rule should or should not apply here. Builtin
queues:<br>"
+ "Active Remote Delivery<br>Active Mailbox
Delivery<br>"
+ "Retry Remote Delivery<br>Poison Queue
Length<br>"),
+ choices = [
+ ( "Active Remote Delivery", "Active Remote Delivery"
),
+ ( "Retry Remote Delivery", "Retry Remote Delivery"
),
+ ( "Active Mailbox Delivery", "Active Mailbox Delivery"
),
+ ( "Poison Queue Length", "Poison Queue Length" ),
+ ],
+ otherlabel = _("specify manually ->"),
+ explicit = TextAscii(allow_empty = False)),
+ "first")
+)
+
+checkgroups.append((
"filesystem",
_("Filesystems (used space and growth)"),
Dictionary(