Module: check_mk
Branch: master
Commit: 1ad601091aa29fe9aa26e6357f68ffb823e709b9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1ad601091aa29f…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Nov 27 10:02:42 2017 +0100
Discovery: Fixed check plugin filtering for data fetching phase
Change-Id: I0140148b6a2cbcb9459790cf585bdfa33d1be2ec
---
cmk_base/discovery.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cmk_base/discovery.py b/cmk_base/discovery.py
index a69ab35..85c04b3 100644
--- a/cmk_base/discovery.py
+++ b/cmk_base/discovery.py
@@ -118,7 +118,8 @@ def do_discovery(hostnames, check_plugin_names, only_new):
# yet (do not have autochecks), we enable SNMP scan.
do_snmp_scan = not use_caches or not _has_autochecks(hostname)
- multi_host_sections = _get_host_sections_for_discovery(sources, hostname,
ipaddress, check_plugin_names=None,
+ multi_host_sections = _get_host_sections_for_discovery(sources, hostname,
ipaddress,
+
check_plugin_names=check_plugin_names,
use_caches=use_caches,
do_snmp_scan=do_snmp_scan,
on_error=on_error)