Module: check_mk
Branch: master
Commit: a54bb25aae6fd6e8eab223ac5c2870fd0d941c3b
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a54bb25aae6fd6…
Author: Konstantin Büttner <kb(a)mathias-kettner.de>
Date: Wed Nov 5 18:05:58 2014 +0100
cisco_temp_perf: Modified scan function so check works alongside cisco_temp_sensor. Can
lead to duplications in some cases.
---
checks/cisco_temp_perf | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/checks/cisco_temp_perf b/checks/cisco_temp_perf
index 4aadd5d..8547190 100644
--- a/checks/cisco_temp_perf
+++ b/checks/cisco_temp_perf
@@ -92,8 +92,7 @@ check_info['cisco_temp_perf'] = {
"has_perfdata" : True,
"snmp_scan_function" :
lambda oid: "cisco" in oid(".1.3.6.1.2.1.1.1.0").lower() and
\
- oid(".1.3.6.1.4.1.9.9.13.1.3.1.3.*") != None and \
- oid(".1.3.6.1.4.1.9.9.91.1.1.1.1.*") == None,
+ oid(".1.3.6.1.4.1.9.9.13.1.3.1.3.*") != None,
"snmp_info" : ( ".1.3.6.1.4.1.9.9.13.1.3.1",
[2, 3, 4, 6, OID_END ] ), # CISCO-SMI
"group" : "temperature_auto",