Module: check_mk
Branch: master
Commit: a7f79de5c9a8432bc009489f93ce8dc023759765
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a7f79de5c9a843…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Jul 29 09:41:52 2016 +0200
Fixed broken BINARY() in checks which lead to caching implicitly
---
modules/snmp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/snmp.py b/modules/snmp.py
index 9df943b..7c49ede 100644
--- a/modules/snmp.py
+++ b/modules/snmp.py
@@ -412,7 +412,7 @@ def check_snmp_fixed(item, targetvalue, info):
def is_snmpwalk_cachable(column):
- return type(column) == tuple
+ return type(column) == tuple and column[0] == "cached"
def get_cached_snmpwalk(hostname, fetchoid):