Module: check_mk
Branch: master
Commit: dc13e6b9a3de1397a0e24ac6b221ac715fcffcd1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dc13e6b9a3de13…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Dec 8 22:41:53 2014 +0100
#1721 FIX dell_om_mem: Handle formerly unhandled status code 3 (ECC single bit correction
failure rate exceeded)
Thanks to Hermann Maurer.
---
.werks/1721 | 9 +++++++++
ChangeLog | 1 +
checks/dell_om_mem | 3 ++-
3 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/1721 b/.werks/1721
new file mode 100644
index 0000000..9d645f9
--- /dev/null
+++ b/.werks/1721
@@ -0,0 +1,9 @@
+Title: dell_om_mem: Handle formerly unhandled status code 3 (ECC single bit correction
failure rate exceeded)
+Level: 1
+Component: checks
+Compatible: compat
+Version: 1.2.5i7
+Date: 1418074869
+Class: fix
+
+Thanks to Hermann Maurer.
diff --git a/ChangeLog b/ChangeLog
index e09711c..5bb1085 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -131,6 +131,7 @@
* 1712 FIX: hyper_vms: fixed for snapshot VMs with (...) in their names...
* 1713 FIX: check_fstab_mounts: now correctly ignores swap space...
* 1716 FIX: windows_tasks: consider state SCHED_S_TASK_QUEUED (0x00041325) as OK now
+ * 1721 FIX: dell_om_mem: Handle formerly unhandled status code 3 (ECC single bit
correction failure rate exceeded)...
Multisite:
* 1508 Allow input of plugin output and perfdata when faking check results...
diff --git a/checks/dell_om_mem b/checks/dell_om_mem
index 3ed4562..ccf51d2 100644
--- a/checks/dell_om_mem
+++ b/checks/dell_om_mem
@@ -32,6 +32,7 @@ def check_dell_om_mem(item, _no_params, info):
0 : 'No failure',
1 : 'ECC single bit correction warning rate exceeded',
2 : 'ECC single bit correction failure rate exceeded',
+ 3 : 'ECC single bit correction failure rate exceeded',
4 : 'ECC multibit fault encountered',
8 : 'ECC single bit correction logging disabled',
16 : 'device disabled because of spare activation',
@@ -47,7 +48,7 @@ def check_dell_om_mem(item, _no_params, info):
state = 2
msg = "Modul State is %s(!!), " % status
label = ""
- if failuremode in [ 2, 4 ]:
+ if failuremode in [ 2, 4, 3 ]:
state = 2
label = "(!!)"
elif failuremode in [ 1, 8, 16 ]: