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