[project @ peter@palfrader.org-20080403122907-bk1m0pj7ac5pvrnx]
authorPeter Palfrader <peter@palfrader.org>
Thu, 3 Apr 2008 12:29:07 +0000 (08:29 -0400)
committerPeter Palfrader <peter@palfrader.org>
Thu, 3 Apr 2008 12:29:07 +0000 (08:29 -0400)
Set all and pingable hostgroups hidden

build-nagios

index 3e3e09e..482357f 100755 (executable)
@@ -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)