Module: check_mk
Branch: master
Commit: fc7a164843b310b88d610b822735de49d1c3c760
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=fc7a164843b310…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed May 22 12:10:09 2013 +0200
FIX: ipmi_sensors: handle two cases for DELL correctly (thanks to Sebastian Talmon)
---
ChangeLog | 1 +
checks/ipmi_sensors | 2 ++
2 files changed, 3 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index c15d27a..88386a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -143,6 +143,7 @@
* FIX: ipmi_sensors: ignore sensors in state [NA] (not available)
* FIX: aix_lvm: handle agents that output an extra header line
* FIX: zfsget: do not assume that devices begin with /, but mountpoints
+ * FIX: ipmi_sensors: handle two cases for DELL correctly (thanks to Sebastian
Talmon)
Multisite:
* List of views: Output the alias of a datasource instead of internal name
diff --git a/checks/ipmi_sensors b/checks/ipmi_sensors
index 9d89ea9..a9c2b34 100644
--- a/checks/ipmi_sensors
+++ b/checks/ipmi_sensors
@@ -113,6 +113,8 @@ def check_freeipmi(item, _no_params, info):
or status == "Entity_Present" \
or status.endswith("is_connected") \
or status.endswith("Presence_detected") \
+ or status == "battery_presence_detected" \
+ or status == "Drive_Presence" \
or status.startswith("Fully_Redundant"):
return (0, infotext, perfdata)
else: