Module: check_mk
Branch: master
Commit: 7fc5509f2b1197af6c514dc4b7b5aa267a02f2e7
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7fc5509f2b1197…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 23 11:54:05 2015 +0100
Fix missing SNMP scan on manual cmk -I HOSTNAME
---
modules/discovery.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/discovery.py b/modules/discovery.py
index 5254f28..58fccfe 100644
--- a/modules/discovery.py
+++ b/modules/discovery.py
@@ -74,7 +74,7 @@ def do_discovery(hostnames, check_types, only_new):
def do_discovery_for(hostname, check_types, only_new, use_caches):
- new_items = discover_services(hostname, check_types, use_caches, use_caches)
+ new_items = discover_services(hostname, check_types, use_caches, not use_caches)
if not check_types and not only_new:
old_items = [] # do not even read old file
else: