Module: check_mk
Branch: master
Commit: 20ca34d70341702e2be27d79f6931803cb024df6
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=20ca34d7034170…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Sep 14 13:55:23 2016 +0200
Fixed possible exception during discovery when having a management board configured
---
modules/discovery.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/discovery.py b/modules/discovery.py
index add7672..6bb1d36 100644
--- a/modules/discovery.py
+++ b/modules/discovery.py
@@ -692,6 +692,7 @@ def discover_services(hostname, check_types, use_caches, do_snmp_scan,
on_error,
address = cached_dns_lookup(address, family)
if protocol == "snmp":
+ management_check_types = []
try:
management_check_types = snmp_scan(hostname, address, on_error)
except Exception, e: