[project @ peter@palfrader.org-20080402230546-lssjke2qqskrm72r]
[mirror/dsa-nagios.git] / build-nagios
index 9e2fc48..6c80392 100755 (executable)
@@ -4,10 +4,10 @@
 
 require "yaml"
 
-ORG="debianorg"
+ORG="dsa"
 SHORTORG="do"
 CONTACTGROUP="debianadmin"
-GENERATED_PREFIX="/etc/NOREPLY/generated/nagios/"
+GENERATED_PREFIX="./generated/"
 
 nagios_filename = {};
 %w(hosts hostgroups services dependencies hostextinfo serviceextinfo).each{
@@ -317,7 +317,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()
 }