Module: check_mk
Branch: master
Commit: 6efe1b6fd7dcf446e40c1f0a30e3dfc22e748e75
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6efe1b6fd7dcf4…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 12 10:55:15 2016 +0100
Updated changelog
---
.werks/3057 | 9 +++++++++
ChangeLog | 1 +
checks/arc_raid_status | 3 ++-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/3057 b/.werks/3057
new file mode 100644
index 0000000..29a6357
--- /dev/null
+++ b/.werks/3057
@@ -0,0 +1,9 @@
+Title: arc_raid_status: Fixed exception when number of disks changed
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.7i4
+Date: 1455269277
+Class: fix
+
+
diff --git a/ChangeLog b/ChangeLog
index fcf5832..63f8edd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -274,6 +274,7 @@
* 3055 FIX: ibm_svc_mdiskgrp: Fixed exception in case of configured thresholds...
* 3056 FIX: vms_cpu: Fixed exception when having thresholds configured
* 3072 FIX: windows agent: agent can now handle utf-16 encoded output from
plugins...
+ * 3057 FIX: arc_raid_status: Fixed exception when number of disks changed
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/checks/arc_raid_status b/checks/arc_raid_status
index 7c0c71d..c0d19fd 100644
--- a/checks/arc_raid_status
+++ b/checks/arc_raid_status
@@ -54,7 +54,8 @@ def check_arc_raid_status(item, params, info):
i_disks = params
c_disks = saveint(line[-5])
if i_disks != c_disks:
- message.append("Number of disks has changed from %d to %d(!!)"
% ( i_disks, c_disks ))
+ messages.append("Number of disks has changed from %d to %d(!!)"
%
+ (i_disks, c_disks))
state = 2
return state, ", ".join(messages)