Module: check_mk
Branch: master
Commit: 7655bb6ff071a1123b57c3033270d9d2ed132800
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7655bb6ff071a1…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 18 12:12:37 2013 +0100
cmctc.temp: also detect older CMC devices
---
.werks/395 | 10 ++++++++++
ChangeLog | 1 +
checks/cmctc | 3 ++-
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.werks/395 b/.werks/395
new file mode 100644
index 0000000..326b813
--- /dev/null
+++ b/.werks/395
@@ -0,0 +1,10 @@
+Title: cmctc.temp: also detect older CMC devices
+Level: 1
+Component: checks
+Class: feature
+State: unknown
+Version: 1.2.5i1
+Date: 1387365130
+Targetversion: future
+
+
diff --git a/ChangeLog b/ChangeLog
index 1a7a1cb..833dab6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,6 +20,7 @@
* 0373 wut_webtherm: Supporting several other devices now
* 0377 check_http: Certificate Age mode now supports SNI...
* 0317 emc_isilon: New checks for EMC Isilon Storage System
+ * 0395 cmctc.temp: also detect older CMC devices
* 0103 FIX: services: Fixed bug with service inventory defined in main.mk...
* 0299 FIX: borcade_mlx_fan: Prettified output, handling "other" state now
* 0300 FIX: cisco_fru_power: Trying not to inventorize not plugged in FRUs...
diff --git a/checks/cmctc b/checks/cmctc
index e262d80..124d297 100644
--- a/checks/cmctc
+++ b/checks/cmctc
@@ -82,7 +82,8 @@ check_info['cmctc.temp'] = {
"has_perfdata" : True,
"service_description" : "Temperature %s",
"group" : "room_temperature",
- "snmp_scan_function" : lambda oid: "CMC-TC" in
oid(".1.3.6.1.2.1.1.1.0"),
+ "snmp_scan_function" : lambda oid: "CMC-TC" in
oid(".1.3.6.1.2.1.1.1.0") or \
+ "Rittal CMC" in
oid(".1.3.6.1.2.1.1.1.0"),
"snmp_info" : (
# Base to all IO units
".1.3.6.1.4.1.2606.4.2",