From 5224b1ec9299c9304984ff299c4dfd81860f4551 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 3 Apr 2008 08:29:07 -0400 Subject: [PATCH] [project @ peter@palfrader.org-20080403122907-bk1m0pj7ac5pvrnx] Set all and pingable hostgroups hidden --- build-nagios | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.20.1