Export config to new XI server?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Export config to new XI server?

Post by t3dus »

Can somebody give me clear instructions on how to export a nagiosxi config from one server to a new nagiosxi server?
I'm assuming there is a bit more to it than just a sql database.

We had problems upgrading our current nagiosxi server and have decided that the step above might be better to complete our upgrade.

Thanks
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Export config to new XI server?

Post by benjaminsmith »

Hi @t3dus

The easiet way to export the configuration of one machine to another is to do a backup and restore.

We have a guide on how to do this:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Please note the following from our guide:
The version of the fresh install of Nagios XI that you are restoring to needs to match the version of Nagios XI
that the backup was taken from. For example:
Backup was created on Nagios XI 5.2.2
The server you are restoring to must have Nagios XI 5.2.2 installed on it
All versions of Nagios XI can be downloaded from the following page:
https://assets.nagios.com/downloads/nag ... rsions.php
Let me know if you have any questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Export config to new XI server?

Post by scottwilkerson »

Yes it is more complicated than a single mysql export, but luckily we have scripts that take care of both making the backup and restoring.

We do have a document on the process
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Re: Export config to new XI server?

Post by t3dus »

benjaminsmith wrote:Hi @t3dus

The easiet way to export the configuration of one machine to another is to do a backup and restore.

We have a guide on how to do this:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Please note the following from our guide:
The version of the fresh install of Nagios XI that you are restoring to needs to match the version of Nagios XI
that the backup was taken from. For example:
Backup was created on Nagios XI 5.2.2
The server you are restoring to must have Nagios XI 5.2.2 installed on it
All versions of Nagios XI can be downloaded from the following page:
https://assets.nagios.com/downloads/nag ... rsions.php
Let me know if you have any questions.
It sounds like based on what you said above about the versions that what I want to do likely can't be done because I'm wanting to export settings from an outdated NagiosXI and import into a newer one.

Reason for doing this vs simply upgrading the current NagiosXI server is because we ran into major issues upgrading the current one (Nagios 5.4.0) to the latest version.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Export config to new XI server?

Post by scottwilkerson »

You can download previous versions of Nagios XI here to initially setup the server
https://www.nagios.com/downloads/nagios ... -releases/

Then after the restore of the backup perform the upgrade.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
t3dus
Posts: 161
Joined: Thu Feb 04, 2016 3:46 pm
Location: IA
Contact:

Re: Export config to new XI server?

Post by t3dus »

scottwilkerson wrote:You can download previous versions of Nagios XI here to initially setup the server
https://www.nagios.com/downloads/nagios ... -releases/

Then after the restore of the backup perform the upgrade.
Now that's an interesting thought. Thanks.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Export config to new XI server?

Post by npolovenko »

@t3dus, If worst comes to worst you can simply import configs using the config import tool in the CCM. You'd be able to import service checks, hosts, contacts, hostgroups and so on. However, you'd need to manually add XI users and any other custom settings that you had in place. Scott's advice would probably work best.
Let us know if you have any further questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked