Module: check_mk
Branch: master
Commit: 5ef7cf805cf67970488b5f2e9caab862ada742ee
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5ef7cf805cf679…
Author: Andreas Boesl <ab(a)mathias-kettner.de>
Date: Thu Apr 4 16:07:06 2019 +0200
fixed lynter error
Change-Id: Ie6c53b9928a7654e89d5bd34bc0330d73cb57339
---
cmk_base/snmp_scan.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmk_base/snmp_scan.py b/cmk_base/snmp_scan.py
index 659da17..45fe57f 100644
--- a/cmk_base/snmp_scan.py
+++ b/cmk_base/snmp_scan.py
@@ -101,7 +101,7 @@ def _snmp_scan(host_config,
default_found = []
for check_plugin_name, _unused_check in items:
- if config.service_ignored(hostname, check_plugin_name, None):
+ if config.service_ignored(host_config.hostname, check_plugin_name, None):
continue
else:
if for_inv and not inventory_plugins.is_snmp_plugin(check_plugin_name):