Nagios Configuration files

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.
Locked
agenerette
Posts: 50
Joined: Wed Jul 25, 2012 5:09 pm

Nagios Configuration files

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Nagios Configuration files

Post 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.
Locked