Module: check_mk
Branch: master
Commit: 31e583ee51801d168778f6d2904b43238702cc4a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=31e583ee51801d…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Oct 18 09:15:23 2013 -0500
Fixed code indentation in one WATO rule
---
web/plugins/wato/check_parameters.py | 24 +++++++++++-------------
1 file changed, 11 insertions(+), 13 deletions(-)
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 1dd18c2..e76dd2f 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -1381,8 +1381,6 @@ register_check_parameters(
has_inventory = False,
)
-
-
register_check_parameters(
subgroup_applications,
"msx_queues",
@@ -1393,17 +1391,17 @@ register_check_parameters(
Integer(title = _("Warning if above"), unit =
_("E-Mails")),
Integer(title = _("Critical if above"), unit =
_("E-Mails"))
]),
- OptionalDropdownChoice(
- title = _("Explicit Queue Names"),
- help = _("Select queue names that the rule should apply"),
- 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)),
+ OptionalDropdownChoice(
+ title = _("Explicit Queue Names"),
+ help = _("Select queue names that the rule should apply"),
+ 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"
)