From f23b67cfb55035af87f95077be4523c0ef899530 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 20 Jan 2011 11:27:15 +0100 Subject: [PATCH] Do not require the set of excludes to be a subset of the included hosts --- config/build-nagios | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.20.1