I installed Nagios by following the steps here.
I wonder where will be config file are. I can see plenty of places files resides. For example I can see nagios.cfg
in two places :
/usr/local/nagios/etc/nagios.cfg
and
/etc/nagios3
which I need to configure? And also there are two commands.cfg
file :
/usr/local/nagios/etc/objects
and here :
/etc/nagios3/commands.cfg
I'm very much confused in configuring the files I need.
Nagios configuration file resides in
/usr/local/nagios/etc/nagios.cfg
It is the base for all Nagios configuration files.
For detailed info please see Here