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

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
MikeMAN987
Posts: 58
Joined: Fri Sep 29, 2017 9:57 am

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

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
MikeMAN987
Posts: 58
Joined: Fri Sep 29, 2017 9:57 am

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

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

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

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked