Module: check_mk
Branch: master
Commit: e202be2d8a8cbdfc3e928f9b182af361f4e8b0cf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=e202be2d8a8cbd…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Mar 17 09:46:48 2011 +0100
FIX: cmctc: add scan function
---
ChangeLog | 1 +
checks/cmctc | 3 +++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 8bfd637..d6de430 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,7 @@
* FIX: df: fix status in case of critical trend and warning used
* FIX: df: fix display of trend warn/crit in PNP-graph
* FIX: cmctc: fix inventory in case of incomplete entries
+ * FIX: cmctc: add scan function
* FIX: ucd_cpu_load and ucd_cpu_util: make scan function find Rittal
* FIX: ucd_cpu_util: fix check in case of missing hi, si and st
* printer_supply: Changed order of tests. When a printer reports -3 this
diff --git a/checks/cmctc b/checks/cmctc
index d74bc66..b00413d 100644
--- a/checks/cmctc
+++ b/checks/cmctc
@@ -95,3 +95,6 @@ snmp_info['cmctc'] = (
"7.2.1.2"
]
)
+
+snmp_scan_functions["cmctc.temp"] = \
+ lambda oid: "CMC-TC" in oid(".1.3.6.1.2.1.1.1.0")