Migration from nagios xi 5.6.14 to 5.9.2

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
occ
Posts: 22
Joined: Fri Jan 11, 2019 5:05 am

Migration from nagios xi 5.6.14 to 5.9.2

Post by occ »

Hello,
we have created a new Red Hat 9 infrastructure, so we need to migrate Nagios XI

Current infrastructure:
SO: CentOs 7
NagiosXI 5.6.14

New infrastructure:
OS: Red Hat 9
NAgios XI 5.9.2


We need to migrate all services, hosts and all configurations that are currently on the old infrastructure
Is there an official guide for performing the task?
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Migration from nagios xi 5.6.14 to 5.9.2

Post by gormank »

Yes tere is and it's pretty easy. See the documentation.
occ
Posts: 22
Joined: Fri Jan 11, 2019 5:05 am

Re: Migration from nagios xi 5.6.14 to 5.9.2

Post by occ »

Hi,
the documentation indicated only a migration to different servers but with the same version.
I would need to migrate to a more up-to-date version.
Could you provide me with the documentation?
occ
Posts: 22
Joined: Fri Jan 11, 2019 5:05 am

Re: Migration from nagios xi 5.6.14 to 5.9.2

Post by occ »

Hi,
the documentation indicated only a migration to different servers but with the same version.
I would need to migrate to a more up-to-date version.
Could you provide me with the documentation?
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Migration from nagios xi 5.6.14 to 5.9.2

Post by gormank »

Check the backup and restore doc. There's a script that needs to be run.
mlat
Posts: 1
Joined: Thu Dec 15, 2022 11:13 am

Re: Migration from nagios xi 5.6.14 to 5.9.2

Post by mlat »

Hi,

I am facing the same situation as you are.
I have come to the conclusion that i need to get install a "minimal install" of a supported operating system on a new VM.
Install nagiosxi of the same version as the currently running one, get a backup from the running one and restore it to the new server.
This process is described here:
https://www.youtube.com/watch?v=LsE6A0HyMaU
Then i can upgrade that to the latest version, there is a video on that here:
https://www.youtube.com/watch?v=uSJ-Ox557fo (via CLI)
https://www.youtube.com/watch?v=BmeT5PvPgRc (via GUI)
This approach is fine by me if it didn't have the disclaimer before starting ..
- "Warning overwriting XI files, please make backups of any edited files before running this upgrade. Does not include components unless its core XI component".
If you are unsure if anyone has modified files that would be overwritten, is there a way you can you verify if that is or isn't the case?
Thanks,
///Mathias
gormank
Posts: 1114
Joined: Tue Dec 02, 2014 12:00 pm

Re: Migration from nagios xi 5.6.14 to 5.9.2

Post by gormank »

Copied and pasted from the backup/restore doc.

Changed Operating System Version / Architecture / Family
If you are restoring a backup from a different OS version, architecture or family this can be a problem
because the backup is overwriting the compiled binaries. To fix this you will need to execute the following
commands:
cd /tmp/
wget https://assets.nagios.com/downloads/nag ... _repair.sh
chmod +x restore_repair.sh
./restore_repair.sh
Post Reply