Module: check_mk
Branch: master
Commit: 953c1f9f5d3b62b921bf14c5969e7801e59b74ae
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=953c1f9f5d3b62…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Sep 24 11:54:25 2014 +0200
Minor cleanup in check output
---
checks/vxvm_enclosures | 2 +-
checks/vxvm_multipath | 12 ++++++------
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/checks/vxvm_enclosures b/checks/vxvm_enclosures
index 862a9fa..e850683 100644
--- a/checks/vxvm_enclosures
+++ b/checks/vxvm_enclosures
@@ -35,7 +35,7 @@ def check_vxvm_enclosures(item, params, info):
return(2, "Status is %s" % line[3])
else:
return(0, "Status is CONNECTED")
- return(3, "UKN - Item not found")
+ return(3, "Item not found")
check_info["vxvm_enclosures"] = {
diff --git a/checks/vxvm_multipath b/checks/vxvm_multipath
index 2ed421c..4a1f669 100644
--- a/checks/vxvm_multipath
+++ b/checks/vxvm_multipath
@@ -25,11 +25,11 @@
# Boston, MA 02110-1301 USA.
# Example output:
-#<<<vxvm_multipath>>>
-#sda ENABLED OTHER_DISKS 1 1 0 other_disks
-#LIO-Sechs_0 ENABLED aluadisk 1 1 0 LIO-Sechs
-#LIO-Sechs_1 ENABLED aluadisk 1 1 0 LIO-Sechs
-#LIO-Sechs_2 ENABLED aluadisk 1 1 0 LIO-Sechs
+# <<<vxvm_multipath>>>
+# sda ENABLED OTHER_DISKS 1 1 0 other_disks
+# LIO-Sechs_0 ENABLED aluadisk 1 1 0 LIO-Sechs
+# LIO-Sechs_1 ENABLED aluadisk 1 1 0 LIO-Sechs
+# LIO-Sechs_2 ENABLED aluadisk 1 1 0 LIO-Sechs
#
def check_vxvm_multipath(item, params, info):
@@ -42,7 +42,7 @@ def check_vxvm_multipath(item, params, info):
state = 2
return(state, "Status: %s, (%d/%d) Paths to enclosure %s enabled" %
(status_txt, int(paths_act), int(paths), enclosure ))
- return(3, "UKN - Item not found")
+ return(3, "Item not found")
check_info["vxvm_multipath"] = {