Export Import of config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Export Import of config

Post by sujitt »

How do you export specific configs of services from test environment to production ?
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Export Import of config

Post 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.
sujitt
Posts: 132
Joined: Thu Apr 25, 2013 1:50 pm

Re: Export Import of config

Post 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?
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Export Import of config

Post 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.
Former Nagios employee
Locked