X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=build-nagios;h=67f7e152c77834ebee5338b3d74839a5e9654ed1;hb=418e2cfa6f2f871ad9d6399209c08958366be856;hp=9e2fc48e3ede0960c4601382903eff52cdef05bb;hpb=50504670d6b7bf259a143ba1413e90e8e257210c;p=mirror%2Fdsa-nagios.git diff --git a/build-nagios b/build-nagios index 9e2fc48..67f7e15 100755 --- a/build-nagios +++ b/build-nagios @@ -4,10 +4,9 @@ require "yaml" -ORG="debianorg" -SHORTORG="do" -CONTACTGROUP="debianadmin" -GENERATED_PREFIX="/etc/NOREPLY/generated/nagios/" +ORG="dsa" +SHORTORG="dsa" +GENERATED_PREFIX="./generated/" nagios_filename = {}; %w(hosts hostgroups services dependencies hostextinfo serviceextinfo).each{ @@ -317,7 +316,6 @@ config['hostgroups'].each_pair{ |name, hg| set_complain_if_set hg, 'hostgroup_name', name , 'Hostgroup', name set_complain_if_set hg, 'members' , hg['_memberlist'].join(","), 'Hostgroup', name - set_if_unset hg, 'contact_groups', CONTACTGROUP print_block files['hostgroups'], 'hostgroup', hg, %w() }