Module: check_mk
Branch: master
Commit: 2dcbcad807ce357321162c4ba31eee90a7981965
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2dcbcad807ce35…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Wed Jan 27 08:47:20 2016 +0100
ibm_svc_array: fixed incompatibility with newer firmware versions
---
checks/ibm_svc_array | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/checks/ibm_svc_array b/checks/ibm_svc_array
index 225d851..c2d0572 100644
--- a/checks/ibm_svc_array
+++ b/checks/ibm_svc_array
@@ -34,12 +34,12 @@
def inventory_ibm_svc_array(info):
for line in info:
- if len(line) in (11, 12):
+ if len(line) > 10:
yield line[0], None
def check_ibm_svc_array(item, _no_params, info):
for line in info:
- if len(line) in (11, 12) and line[0] == item:
+ if len(line) > 10 and line[0] == item:
raid_status = line[6]
raid_level = line[7]
tier = line[10]