Module: check_mk
Branch: master
Commit: 914ea59685c2592eda6d01c81258c35b503f8785
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=914ea59685c259…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Jul 27 17:19:52 2015 +0200
ibm_svc_mdisk: after firmware update the output of the command 'lsmdisk -nohdr -delim
:' in the special agent 'agent_ibmsvc' increased from 11/12 to 14
---
checks/ibm_svc_mdisk | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/ibm_svc_mdisk b/checks/ibm_svc_mdisk
index d8939c8..720e00a 100644
--- a/checks/ibm_svc_mdisk
+++ b/checks/ibm_svc_mdisk
@@ -50,12 +50,12 @@ factory_settings['ibm_svc_mdisk_default_levels'] = {
def inventory_ibm_svc_mdisk(info):
for line in info:
- if len(line) in (11, 12):
+ if len(line) > 10:
yield line[1], {}
def check_ibm_svc_mdisk(item, params, info):
for line in info:
- if len(line) in (11, 12) and line[1] == item:
+ if len(line) > 10 and line[1] == item:
mdisk_status = line[2]
mdisk_mode = line[3]