From: Peter Palfrader Date: Thu, 20 Jan 2011 10:27:15 +0000 (+0100) Subject: Do not require the set of excludes to be a subset of the included hosts X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=f23b67cfb55035af87f95077be4523c0ef899530;p=mirror%2Fdsa-nagios.git Do not require the set of excludes to be a subset of the included hosts --- diff --git a/config/build-nagios b/config/build-nagios index 545e4fd..acbf339 100755 --- a/config/build-nagios +++ b/config/build-nagios @@ -241,7 +241,7 @@ def find_hosts(service, servers, hostgroups) excludehosts.uniq.each{ |host| if hosts.delete(host) == nil - throw "Cannot remove host #{host} from service #{service['service_description']}: it's not included anyway." + puts "info: [service #{service['service_description']}] not excluding host #{host} - it's not included anyway." end }