Module: check_mk
Branch: master
Commit: d29bf8410aac5a4f1580ba3f38136de36d424448
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=d29bf8410aac5a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Sep 8 11:01:33 2014 +0200
Removed some trailing spaces
---
checks/docsis_channels_upstream | 2 +-
checks/hivemanager_devices | 4 ++--
web/plugins/wato/check_parameters.py | 12 ++++++------
3 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/checks/docsis_channels_upstream b/checks/docsis_channels_upstream
index 2e25d57..f93350f 100644
--- a/checks/docsis_channels_upstream
+++ b/checks/docsis_channels_upstream
@@ -52,7 +52,7 @@ def docsis_channels_upstream_convert(info):
def inventory_docsis_channels_upstream(info):
parsed = docsis_channels_upstream_convert(info)
for cid, entry in parsed.items():
- if entry[2] != '0' and entry[5] != '0':
+ if entry[2] != '0' and entry[5] != '0':
yield cid, {}
def check_docsis_channels_upstream(item, params, info):
diff --git a/checks/hivemanager_devices b/checks/hivemanager_devices
index e0451ec..e3ca09d 100644
--- a/checks/hivemanager_devices
+++ b/checks/hivemanager_devices
@@ -56,7 +56,7 @@ def check_hivemanager_devices(item, params, info):
if params['alert_on_loss']:
if connection == 'False':
yield 2, "Connection lost"
-
+
# The number of clients
number_of_clients = int(clients)
warn, crit = params['max_clients']
@@ -101,6 +101,6 @@ check_info["hivemanager_devices"] = {
"default_levels_variable" : "hivemanger_devices",
"group" : "hivemanager_devices",
"has_perfdata" : True,
-
+
}
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index 465ea15..12db48b 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -1553,7 +1553,7 @@ register_check_parameters(
Tuple(
title = _("Maximum uptime of Device"),
elements = [
- Age(title = _("Warning if above")),
+ Age(title = _("Warning if above")),
Age(title = _("Critical if above")),
]
)),
@@ -1811,7 +1811,7 @@ def transform_msx_queues(params):
if type(params) == tuple:
return { "levels" : ( params[0], params[1] ) }
return params
-
+
register_check_parameters(
subgroup_applications,
@@ -1821,7 +1821,7 @@ register_check_parameters(
Dictionary(
title = _("Set Levels"),
elements = [
- ( 'levels',
+ ( 'levels',
Tuple(
title = _("Maximum Number of E-Mails in
Queue"),
help = _("This rule applies to the number of E-Mails
in the various Exchange Message Queues"),
@@ -1830,12 +1830,12 @@ register_check_parameters(
Integer(title = _("Critical if above"),
unit = _("E-Mails"))
]),
),
- ('offset',
- Integer(
+ ('offset',
+ Integer(
title = _("Offset"),
help = _("Use this only if you want to overwrite the
postion of the information in the agent "
"Output. Also refer to the rule
<i>Microsoft Exchange Queues Inventory</i> ")
- )
+ )
),
],
optional_keys = [ "offset" ],