X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;ds=sidebyside;f=build-nagios;h=482357fdcd5c0edc9babb00597c019aca1073b5e;hb=5224b1ec9299c9304984ff299c4dfd81860f4551;hp=3e3e09eaa46009fd05071cdab3fd9fe897102aaa;hpb=a46df3797d1eb579701f86cb294261ef61212541;p=mirror%2Fdsa-nagios.git diff --git a/build-nagios b/build-nagios index 3e3e09e..482357f 100755 --- a/build-nagios +++ b/build-nagios @@ -244,8 +244,10 @@ nagios_filename.each_pair{ |name, filename| # create the "all" and "pingable" hostgroups config['hostgroups']['all'] = {} config['hostgroups']['all']['alias'] = "all servers" +config['hostgroups']['all']['private'] = true config['hostgroups']['pingable'] = {} config['hostgroups']['pingable']['alias'] = "pingable servers" +config['hostgroups']['pingable']['private'] = true config['hostgroups'].each_pair{ |name, hg| throw "Empty hostgroup or hostgroup #{name} not a hash" unless hg.kind_of?(Hash)