Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I have taken over a Nagios that a previous Administrator had implemented, but I was a little confused. I see a a file structure at \etc\nagios3 and /usr/local/nagios. In /etc/nagios3 I see many .cfg files, but it looks like they are default configs. All the current configs that appear active are in /usr/local/nagios. Are both if these needed as part of the current install.
Open up your /usr/local/nagios/etc/nagios.cfg and near the top it should tell you exactly which config files and directories it's loading. I think more than likely if it's just the default configs he created the /etc/nagios3 directory for backups/reference material.
/etc/nagios3 means that the Nagios installation is installed from Ubuntu/Debian's apt packaging, and it doesn't necessarily match a source install of Nagios. The file structure is much different, and there are some things changed in the code as well. My guess is that if you see someone reference a file in /usr/local/nagios/etc, you'll find it on the nagios3 install in /etc/nagios3 instead.
I have installed nagios on an opensuse 11.4 but have failed to configure it. Help me with the first configuration steps. to add hosts, hostgroups and services. I have the format of enetring them but where to edit.
If you check your /usr/local/nagios/etc/nagios.cfg it will tell you which config files/directories nagios is configured to load, if you add your config data to one of those files/directories nagios will load it.