Module: check_mk
Branch: master
Commit: 026b88daffd9f2d00d6091e673dee7391e4075b1
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=026b88daffd9f2…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Tue Mar 8 10:03:56 2016 +0100
3089 FIX cmciii.temp: added handling for more device states
---
.werks/3089 | 10 ++++++++++
ChangeLog | 1 +
checks/cmciii | 4 ++++
3 files changed, 15 insertions(+)
diff --git a/.werks/3089 b/.werks/3089
new file mode 100644
index 0000000..c05b623
--- /dev/null
+++ b/.werks/3089
@@ -0,0 +1,10 @@
+Title: cmciii.temp: added handling for more device states
+Level: 1
+Component: checks
+Class: fix
+Compatible: compat
+State: unknown
+Version: 1.2.9i1
+Date: 1457427809
+
+
diff --git a/ChangeLog b/ChangeLog
index bcc3df4..88b705a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -61,6 +61,7 @@
* 3087 FIX: fixed very rare crash in active checks...
* 3266 FIX: check_smtp: when set to IPv6 it used the IPv4 address nevertheless
* 3274 FIX: ibm_svc_disks: Fixed wrong listing of man page
+ * 3089 FIX: cmciii.temp: added handling for more device states
Multisite:
* 3187 notification view: new filter for log command via regex
diff --git a/checks/cmciii b/checks/cmciii
index ca0e2d1..860b261 100644
--- a/checks/cmciii
+++ b/checks/cmciii
@@ -533,6 +533,10 @@ def translate_cmciii_temp_status(status_name):
return {
"ok" : 0,
"warning" : 1,
+ "low warn" : 1,
+ "high warn": 1,
+ "too low" : 2,
+ "too high" : 2,
}[status_name.lower()]