Module: check_mk
Branch: master
Commit: 74a5358a72c3a12670d8285a833265aa389e4e04
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=74a5358a72c3a1…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Mon Sep 15 16:01:46 2014 +0200
#1116 FIX megaraid_ldisk: now longer raises an exception for adapters with 'No Virtual
Drive Configured'
---
.werks/1116 | 9 +++++++++
ChangeLog | 1 +
checks/megaraid_ldisks | 1 +
3 files changed, 11 insertions(+)
diff --git a/.werks/1116 b/.werks/1116
new file mode 100644
index 0000000..f19949b
--- /dev/null
+++ b/.werks/1116
@@ -0,0 +1,9 @@
+Title: megaraid_ldisk: now longer raises an exception for adapters with 'No Virtual
Drive Configured'
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.5i6
+Date: 1410789580
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index 7769aab..1f57693 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -93,6 +93,7 @@
* 1110 FIX: windows agent: fixed missing agent section problem if a cached script ran
into a timeout...
* 1113 FIX: oracle_rman: fixed exception when backup was currently running
* 1114 FIX: bluecat_threads: no longer detected on wrong systems...
+ * 1116 FIX: megaraid_ldisk: now longer raises an exception for adapters with 'No
Virtual Drive Configured'
Multisite:
* 1066 Implemented Dashboard Designer...
diff --git a/checks/megaraid_ldisks b/checks/megaraid_ldisks
index 59f69e8..097fa40 100644
--- a/checks/megaraid_ldisks
+++ b/checks/megaraid_ldisks
@@ -47,6 +47,7 @@ def inventory_megaraid_ldisks(info):
def check_megaraid_ldisks(item, _no_params, info):
adapter = None
+ found = False
for line in info:
l = ' '.join(line)
if line[0] == "Adapter" and not l.endswith('No Virtual Drive
Configured.'):