Module: check_mk
Branch: master
Commit: 54565011b24eedd4dd7c043d4481cce07323869e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=54565011b24eed…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Wed Apr 27 11:54:09 2016 +0200
Fixed exception in logwatch check after recent change to core function
---
checks/logwatch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/logwatch b/checks/logwatch
index cb9f8ca..5a6395f 100644
--- a/checks/logwatch
+++ b/checks/logwatch
@@ -856,7 +856,7 @@ def logwatch_ec_precompile(hostname, item, params):
# Directly compute set of all matching hosts here, this
# will avoid recomputation later
- hosts = all_matching_hosts(tags, hostlist)
+ hosts = all_matching_hosts(tags, hostlist, with_foreign_hosts=False)
ruleset.append((item, hosts, servlist))
# Filter out any logwatch_rules which do apply to to this host