Page 1 of 1

Migrating Nagios XI (Test Server) to Nagios XI (Production)

Posted: Tue Apr 17, 2018 5:36 pm
by MikeMAN987
Hello,

I am currently going through the process of migrating our old Nagios Core items into a test environment on nagios XI. Rather than validate my plan in test, and then have to manually do the same steps into Nagios XI. Could I simply:

Once the Test Environment of Nagios XI is performing as expected and successfully migrated-
*Copy Relevant Plugins from Test to Production
*Run a Configuration Backup from Test
*Extract the Configuration Files from Test
*Manually Import the Configuration Files, and uncheck "Overwrite Database " so I preserve any data that is currently in production without overwriting what is already there.

Thanks for any insight!

Regards,
mike

Re: Migrating Nagios XI (Test Server) to Nagios XI (Producti

Posted: Wed Apr 18, 2018 7:19 am
by scottwilkerson
MikeMAN987 wrote:*Manually Import the Configuration Files, and uncheck "Overwrite Database " so I preserve any data that is currently in production without overwriting what is already there.
This is not what the overwrite database button does, this button is simply indicating that if the object currently exists, to overwrite the configuration database with the current config.

The configurations do not contain any of the monitoring data.

The best thing to do is create everything in your test environment by importing all the configs, and then follow the backup and restore procedure to create the new production server on restore

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Migrating Nagios XI (Test Server) to Nagios XI (Producti

Posted: Wed Apr 18, 2018 8:42 am
by MikeMAN987
Thank you for the info Scott, and appreciate the link. My only concern with doing a full backup and restore, is that our current Nagios XI installation in production already has data and several hundred hosts and we wish to preserve that data and my understanding is that the backup and restore procedure would replace the data already in production. I am fine with some manual config file work, and plugin copying, and don't need historical data.

Re: Migrating Nagios XI (Test Server) to Nagios XI (Producti

Posted: Wed Apr 18, 2018 8:44 am
by scottwilkerson
MikeMAN987 wrote:Thank you for the info Scott, and appreciate the link. My only concern with doing a full backup and restore, is that our current Nagios XI installation in production already has data and several hundred hosts and we wish to preserve that data and my understanding is that the backup and restore procedure would replace the data already in production. I am fine with some manual config file work, and plugin copying, and don't need historical data.
Oh, I thought you were just going from an old Core setup, I was not aware you currently have an XI system in place.

I actually think you have a good plan then.