Page 1 of 1

Export Import of config

Posted: Wed Jul 16, 2014 3:32 pm
by sujitt
How do you export specific configs of services from test environment to production ?

Re: Export Import of config

Posted: Wed Jul 16, 2014 3:58 pm
by slansing
If you are trying to move an entire server, or copy it, from one to the other essentially, you can follow this:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

Or you can export/import the config files following:

http://assets.nagios.com/downloads/nagi ... p-Tool.pdf
http://assets.nagios.com/downloads/nagi ... ios-XI.pdf

Let us know if you have questions as to which to use for your case, with additional details.

Re: Export Import of config

Posted: Tue Aug 12, 2014 3:43 pm
by sujitt
Any of these options doe snot allow me to selectively move my configurations from a test environment to a production environment with out meddling with the files manually.

Will this import tool replace my existing configs?

Re: Export Import of config

Posted: Wed Aug 13, 2014 3:23 pm
by tmcdonald
No matter how you do it, you would need to pick the configs individually. Whether that is via the command line or a web interface, you need to tell Nagios what configs you want moved and which you don't. The import tool will add a new entry if it does not exist, but it will also overwrite those that do, so be careful when moving to make sure that what gets imported is what you want. It will not remove existing configs assuming they were not overwritten.