Thanks Wolfgang. I assumed that the Windows hostgroup was being populated by
the windows.cfg file. However, it seems that it is being populated by the
machines using the windows-server template in each host definition. Is that
correct?
If so, I could create a server template for each system in the templates.cfg
file by copying the windows-server template and renaming each new template
entry from windows-server to anystream-server, frontporch-server, etc., and
then changing the templates of each host definition in each system cfg file.
--Hank
From: Wolfgang [mailto:w...@gmx.net]
Sent: Thursday, July 19, 2012 1:50 PM
To: icinga-users@lists.sourceforge.net
Subject: Re: [icinga-users] Hiding the Windows-Servers hostgroup
Am 19.07.2012 17:40, schrieb Hank Lambert:
Is there a way to hide the Windows-Servers hostgroup from displaying in the
Hostgroup Overview or Summary? I have created separate .cfg files for each
of my systems and have defined each server within those cfg files; I am not
even using the windows.cfg file for anything except to define the
windows-server hostgroup. I tried commenting out the hostgroup definition in
windows.cfg, and also tried to comment out the
"cfg_file=/usr/local/icinga/etc/objects/windows.cfg" line in the icinga.cfg
file, but both ended up with errors when trying to restart Icinga. I am
using the windows-server template in each windows server host definition.
Right now the Hostgroup Overview shows each one of my systems and then the
Windows Servers hostgroup with each server displayed in that list as well.
That is what I want to hide.
I am running Icinga Classic 1.6.1 on Debian 6.05 with MySQL and Apache
installed from the repository. Thanks for any help you can provide.
Thanks,
Hank Lambert, KB4MTO
h...@hanklambert.com
www.hanklambert.com
PGP Key: 0x96D33D71
AFAIK there is no way to hide a "real" object which is referenced in the
configuration files. Perhaps you can convert the windows hostgroup
definition to a template as well.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
icinga-users mailing list
icinga-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/icinga-users