[project @ peter@palfrader.org-20080402232157-naqh06hj8lhpff9s]
[mirror/dsa-nagios.git] / build-nagios
index 9e2fc48..67f7e15 100755 (executable)
@@ -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()
 }