Module: check_mk
Branch: master
Commit: cfd7ec624e1a2bc3d2dfc48cbe225ee6a7b7179c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=cfd7ec624e1a2b…
Author: Sven Rueß <sr(a)mathias-kettner.de>
Date: Sun Feb 22 09:56:54 2015 +0100
ibm_svc_mdisk: fixed mdisk mode information
---
checks/ibm_svc_mdisk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/checks/ibm_svc_mdisk b/checks/ibm_svc_mdisk
index 4f2cc73..d8939c8 100644
--- a/checks/ibm_svc_mdisk
+++ b/checks/ibm_svc_mdisk
@@ -60,8 +60,7 @@ def check_ibm_svc_mdisk(item, params, info):
mdisk_mode = line[3]
yield params.get("%s_state" % mdisk_status, 1), "Status:
%s" % mdisk_status
- yield params.get("%s_mode" % mdisk_mode, 1), "Mode:
%s" % mdisk_status
-
+ yield params.get("%s_mode" % mdisk_mode, 1), "Mode:
%s" % mdisk_mode
check_info["ibm_svc_mdisk"] = {
"check_function" : check_ibm_svc_mdisk,