Module: check_mk
Branch: master
Commit: 9f1b54c6a1d7a95dff148671a3b435cf86b18155
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=9f1b54c6a1d7a9…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Mar 4 15:14:14 2011 +0100
remove not not from scan function
---
checks/cisco_temp_perf | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/checks/cisco_temp_perf b/checks/cisco_temp_perf
index f6f30aa..0aa35e4 100644
--- a/checks/cisco_temp_perf
+++ b/checks/cisco_temp_perf
@@ -85,4 +85,4 @@ check_info['cisco_temp_perf'] = (check_cisco_temp_perf,
"%s", 1, inventory_cisc
snmp_info['cisco_temp_perf'] = ( "1.3.6.1.4.1.9.9.13.1.3.1", [ 2, 3, 4,
6 ] ) # CISCO-SMI
snmp_scan_functions['cisco_temp_perf'] = \
lambda oid: "cisco" in oid(".1.3.6.1.2.1.1.1.0").lower() and \
- not not oid("1.3.6.1.4.1.9.9.13.1.3.1.3.1")
+ oid("1.3.6.1.4.1.9.9.13.1.3.1.3.1") != None