Page 1 of 1

Nagios Configuration files

Posted: Fri Jan 17, 2014 1:30 pm
by agenerette
I have two nagios hosts

nagios-a
nagios-b

nagios-a was formerly set to monitor a machine named sales. I want to make it such that nagios-b monitors sales, but I'm having trouble transferring configuration information from the old machine to the new. On nagios-b, /usr/local/nagios/etc/objects/commands.cfg, services.cfg, and hosts.cfg appear to be the main files. On the old machine, nagios-a, however, /usr/local/nagios/etc doesn't exist.

How do I go about figuring out where nagios-a's configuration files are being stored?

-Anthony

Re: Nagios Configuration files

Posted: Fri Jan 17, 2014 3:02 pm
by slansing
Where were they on the old machine? You should be able to just copy over the configuration files, and make the necessary additions to commands.cfg on the new nagios server.