From: Peter Palfrader Date: Sun, 24 Feb 2013 17:52:15 +0000 (+0100) Subject: build-nagios: merge from noreply X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=5fecb833d0167732b6d6b0d56a4c70b2eeb9e855;p=mirror%2Fdsa-nagios.git build-nagios: merge from noreply --- diff --git a/config/build-nagios b/config/build-nagios index 2729e75..7a80f0a 100755 --- a/config/build-nagios +++ b/config/build-nagios @@ -131,9 +131,7 @@ $nrpe = Nrpe.new() def print_block(fd, kind, hash, exclude_keys) fd.puts "define #{kind} {" hash.keys.sort.each{ |key| - next if key == '_extinfo' - next if key == '_hostgroups' - next if key == '_memberlist' + next if key[0,1] == '_' next if exclude_keys.include? key fd.puts " #{key} #{hash[key]}" }