Page 1 of 1

Loading configuration

Posted: Wed Dec 10, 2014 2:34 am
by reincarne
Hi,
How do I reload a configuration which was done manualy by editing the CFG file?
For example, I have a script which creates a configuration for hosts, now I need to load it to nagios so I will be able to see the hosts/services. How do I do that?

Thanks

Re: Loading configuration

Posted: Wed Dec 10, 2014 10:16 am
by tmcdonald
First off, make sure it goes in the /usr/local/nagios/etc/static directory so it won't be overwritten or modifiable by the CCM.

Then it should just be a matter of doing a "service nagios restart" from the command line.