Module: check_mk
Branch: master
Commit: 52b24b54564df85d68025385a3f7db904499e4c2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=52b24b54564df8…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Feb 21 12:24:47 2012 +0100
WATO: yet some more checks configurable
---
checks/hpux_multipath | 1 +
checks/hpux_serviceguard | 2 +-
checks/ironport_misc | 2 ++
web/plugins/wato/check_parameters.py | 16 ++++++++++++++++
4 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/checks/hpux_multipath b/checks/hpux_multipath
index 72913e3..23c46ad 100644
--- a/checks/hpux_multipath
+++ b/checks/hpux_multipath
@@ -110,3 +110,4 @@ def check_hpux_multipath(item, params, info):
check_info['hpux_multipath'] = (check_hpux_multipath, "Multipath %s",
0, inventory_hpux_multipath )
+checkgroup_of['hpux_multipath'] = "hpux_multipath"
diff --git a/checks/hpux_serviceguard b/checks/hpux_serviceguard
index 2eb4734..0236060 100644
--- a/checks/hpux_serviceguard
+++ b/checks/hpux_serviceguard
@@ -51,7 +51,7 @@ def inventory_hpux_serviceguard(info):
inventory.append((item, None))
return inventory
-def check_hpux_serviceguard(item, params, info):
+def check_hpux_serviceguard(item, _no_params, info):
for line in info:
if (item == "Total Status" and len(line) == 1) or \
(item == line[0] and len(line) == 2):
diff --git a/checks/ironport_misc b/checks/ironport_misc
index 284ee76..dad22dd 100644
--- a/checks/ironport_misc
+++ b/checks/ironport_misc
@@ -33,3 +33,5 @@ check_info['ironport_misc'] = (
"%s",
0,
no_inventory_possible)
+
+checkgroup_of['ironport_misc'] = "obsolete"
diff --git a/web/plugins/wato/check_parameters.py b/web/plugins/wato/check_parameters.py
index d7c6337..3681933 100644
--- a/web/plugins/wato/check_parameters.py
+++ b/web/plugins/wato/check_parameters.py
@@ -883,6 +883,22 @@ checkgroups.append((
"first"))
checkgroups.append((
+ "hpux_multipath",
+ _("Multipathing on HPUX - state of paths of a LUN"),
+ Tuple(
+ title = _("Expected path situation"),
+ elements = [
+ Integer(title = _("Number of active paths")),
+ Integer(title = _("Number of standby paths")),
+ Integer(title = _("Number of failed paths")),
+ Integer(title = _("Number of unopen paths")),
+ ]),
+ TextAscii(
+ title = _("WWID of the LUN")),
+ "first"))
+
+
+checkgroups.append((
"services",
_("Windows services"),
None,