From: Peter Palfrader Date: Wed, 2 Apr 2008 21:37:47 +0000 (-0400) Subject: [project @ peter@palfrader.org-20080402213747-enjrxxa458pffr83] X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=83650879cdec18f25ed041f9f743bb9a3e0c1e53;p=mirror%2Fdsa-nagios.git [project @ peter@palfrader.org-20080402213747-enjrxxa458pffr83] Do not set contact_group in hostgroups - that's a nagios1-ism --- diff --git a/build-nagios b/build-nagios index ea806f7..6c80392 100755 --- a/build-nagios +++ b/build-nagios @@ -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() }