Module: check_mk
Branch: master
Commit: f132364582378ff4fd4d51a6caf9bacfd040d6d2
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f132364582378f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Feb 16 10:29:43 2016 +0100
#3213 FIX ibm_svc_disks netapp_api_disk: Fixed exception when disks are failed
---
.werks/3213 | 10 ++++++++++
ChangeLog | 1 +
checks/filerdisks.include | 2 +-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3213 b/.werks/3213
new file mode 100644
index 0000000..32245d1
--- /dev/null
+++ b/.werks/3213
@@ -0,0 +1,10 @@
+Title: ibm_svc_disks netapp_api_disk: Fixed exception when disks are failed
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1455614967
+
+
diff --git a/ChangeLog b/ChangeLog
index e380226..affb459 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -15,6 +15,7 @@
* 3210 FIX: oracle_asm_diskgroup: Fixed exception when using required mirror free
space parameter
* 3211 FIX: logwatch: Fixed broken error messages in case of failed filesystem
operations
* 3212 FIX: cmciii.phase: Fixed totally broken check
+ * 3213 FIX: ibm_svc_disks netapp_api_disk: Fixed exception when disks are failed
Multisite:
* 3059 FIX: Fixed highlighting of availability timeline time slices
diff --git a/checks/filerdisks.include b/checks/filerdisks.include
index 32e77c4..766678e 100644
--- a/checks/filerdisks.include
+++ b/checks/filerdisks.include
@@ -75,7 +75,7 @@ def check_filer_disks(disks, params):
if len(total_disks) > 0:
info_text = "%s disks" % len(total_disks)
if len(prefailed_disks) > 0:
- info_text += " (%d prefailed)" % (prefailed)
+ info_text += " (%d prefailed)" % (prefailed_disks)
yield 0, info_text
info_texts = []
for disk in prefailed_disks: