Hi,
I’ve just installed Nagios 2.0b2 and have read through most of the documentation and sample configs, but there’s still a few things that I’m not clear about and hopefully someone can point me in the right direction.
Within the default Nagios.cfg, there’s the entry of
cfg_file=/usr/local/nagios/etc/hostgroups.cfg
Then I placed an entry of
cfg_dir=/usr/local/nagios/etc/servers
Does that mean once I create the individual host.cfg files in the cfg_dir folder I also need to add the individual hostgroups.cfg in that same folder location ?
Or
Do I need individual cfg_file entries for the hostgroups.cfg within Nagios.cfg ?
Or
Do I create a cfg_dir=/usr/local/nagios/etc/servergroup folder and create the individaul groups here, if so how does it know about the host.cfg files that’s within another folder location ???
Any advice is much appreciated.
Thank you.