How do I create new host groups?


I think this is a newbie question, but I can’t find the answer in the official documentation.

How do I create a new host group? For example, I have my Windows Servers, Printers, Linux Servers… I would like to break it down further by SAP, Oracle etc. The documentation I’ve found online point me to this file: /etc/nagios3/conf.d/hostgroups_nagios2.cfg. I don’t have this file in this or any location on my server.

I’m running 3.2.3. Am i missing a file, or are host groups defined somewhere else?

Thanks in advance@


did you instal from source? if yes your config files should be in /usr/local/nagios/etc/objects (some older versions have the files in /usr/local/nagios/etc )
If you didn’t install from source this is a good reason fro doing it :slight_smile:

if all else fails try

locate nagios.cfg
and then on that directory and subdirectories try
grep hostgroup *