projects
/
mirror
/
dsa-nagios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f13a05
)
Do not require the set of excludes to be a subset of the included hosts
author
Peter Palfrader
<peter@palfrader.org>
Thu, 20 Jan 2011 10:27:15 +0000
(11:27 +0100)
committer
Peter Palfrader
<peter@palfrader.org>
Thu, 20 Jan 2011 10:27:15 +0000
(11:27 +0100)
config/build-nagios
patch
|
blob
|
history
diff --git
a/config/build-nagios
b/config/build-nagios
index
545e4fd
..
acbf339
100755
(executable)
--- 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
}