Page 1 of 1
Export config to new XI server?
Posted: Thu Nov 08, 2018 2:51 pm
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
Re: Export config to new XI server?
Posted: Thu Nov 08, 2018 3:23 pm
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.
Re: Export config to new XI server?
Posted: Thu Nov 08, 2018 3:24 pm
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
Re: Export config to new XI server?
Posted: Thu Nov 08, 2018 3:28 pm
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.
Re: Export config to new XI server?
Posted: Thu Nov 08, 2018 3:30 pm
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.
Re: Export config to new XI server?
Posted: Thu Nov 08, 2018 3:52 pm
by t3dus
Now that's an interesting thought. Thanks.
Re: Export config to new XI server?
Posted: Thu Nov 08, 2018 5:16 pm
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.