Nagios Configuration files
Posted: Fri Jan 17, 2014 1:30 pm
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-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