Module: check_mk
Branch: master
Commit: f723b814202fa8a65e3b68b6a341cbb935cb5391
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=f723b814202fa8…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed May 6 10:40:57 2015 +0200
Fixed SNMPv3 contextes in case of selecting "all SNMP checks"
---
modules/snmp.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/snmp.py b/modules/snmp.py
index 4ff2cbb..78fd211 100644
--- a/modules/snmp.py
+++ b/modules/snmp.py
@@ -92,7 +92,7 @@ def cmp_oids(o1, o2):
def snmpv3_contexts_of(hostname, check_type):
for ty, rules in host_extra_conf(hostname, snmpv3_contexts):
- if ty == check_type:
+ if ty == None or ty == check_type:
return rules
return [None]