Module: check_mk
Branch: master
Commit: 879c2e26a23373b8308c6b3330dab0a6d430c188
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=879c2e26a23373…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 2 11:51:55 2015 +0100
#2873 FIX megaraid_pdisks: handle case "Copyback" correctly
This state seems to happen while a spare disk has taken over and
is filled with data in order to recreate redundancy. Thanks to
Mark Cooney.
---
.werks/2873 | 12 ++++++++++++
ChangeLog | 1 +
checks/megaraid_pdisks | 1 +
3 files changed, 14 insertions(+)
diff --git a/.werks/2873 b/.werks/2873
new file mode 100644
index 0000000..ea0c4a4
--- /dev/null
+++ b/.werks/2873
@@ -0,0 +1,12 @@
+Title: megaraid_pdisks: handle case "Copyback" correctly
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.7i4
+Date: 1449053442
+
+This state seems to happen while a spare disk has taken over and
+is filled with data in order to recreate redundancy. Thanks to
+Mark Cooney.
diff --git a/ChangeLog b/ChangeLog
index ea9b43f..9e291de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -116,6 +116,7 @@
* 2782 FIX: cups_queues: fix crash in case user name contains spaces
* 2849 FIX: winperf_processor.util: Fixed crash in case no CPU infos are sent
* 2850 FIX: juniper_cpu: Better error handling of empty data reported by device
+ * 2873 FIX: megaraid_pdisks: handle case "Copyback" correctly...
Multisite:
* 2684 Added icons for downloading agent data / walks of hosts...
diff --git a/checks/megaraid_pdisks b/checks/megaraid_pdisks
index ce47a01..18c57cd 100644
--- a/checks/megaraid_pdisks
+++ b/checks/megaraid_pdisks
@@ -110,6 +110,7 @@ megaraid_pdisks_states = {
'JBOD' : 0,
'Failed' : 2,
'Unconfigured(bad)' : 1,
+ 'Copyback' : 1,
}
def check_megaraid_pdisks(item, _no_params, info):