Page 1 of 1
Upgrade 5.x to 2024.x
Posted: Wed Oct 16, 2024 12:56 pm
by AngeloMileto
I have inherited an old Nagios XI - was running 5.9.3 but just upgraded to 5.11.3 - and I'm trying to determine if I can upgrade directly from 5.11.3 to the latest, 2024R1.2.2?
We are disconnected so it will have to be a fully offline installation but I can't find any instructions/table that shows what versions are/are not able to be upgraded from/to.
Re: Upgrade 5.x to 2024.x
Posted: Wed Oct 16, 2024 1:54 pm
by danderson
Thanks for reaching out
@AngeloMileto,
You should be able to upgrade to 2024R1.2.2, but definitely make sure you backup everything and test on any possible test installations that you might have. There were some interesting database changes made in between those two versions. Off the top of my head, I would check to make sure that the mysql root password defined as
mysqlpass in both
/usr/local/nagiosxi/etc/xi-sys.cfg and
/usr/local/nagiosxi/var/xi-sys.cfg is up to date.
Are you using any NEB modules besides NDO and do you have an offloaded database? You can check for NEB modules by doing
grep "^broker_module" /usr/local/nagios/etc/nagios.cfg and you can check if you have offloaded databases by doing
grep "dbserver" /usr/local/nagiosxi/html/config.inc.php
Re: Upgrade 5.x to 2024.x
Posted: Wed Oct 16, 2024 2:45 pm
by AngeloMileto
Thanks for the information! This is a virtual machine so the plan is snapshot prior to starting and revert if there are any issues.
Re: Upgrade 5.x to 2024.x
Posted: Thu Oct 17, 2024 3:33 pm
by danderson
Hope everything goes well! Let me know if you have any further questions
Re: Upgrade 5.x to 2024.x
Posted: Tue Nov 19, 2024 4:03 am
by Mikasa23
danderson wrote: ↑Wed Oct 16, 2024 1:54 pm
Thanks for reaching out
@AngeloMileto,
That's not my Neighbor
You should be able to upgrade to 2024R1.2.2, but definitely make sure you backup everything and test on any possible test installations that you might have. There were some interesting database changes made in between those two versions. Off the top of my head, I would check to make sure that the mysql root password defined as
mysqlpass in both
/usr/local/nagiosxi/etc/xi-sys.cfg and
/usr/local/nagiosxi/var/xi-sys.cfg is up to date.
Are you using any NEB modules besides NDO and do you have an offloaded database? You can check for NEB modules by doing
grep "^broker_module" /usr/local/nagios/etc/nagios.cfg and you can check if you have offloaded databases by doing
grep "dbserver" /usr/local/nagiosxi/html/config.inc.php
Thanks for sharing the details.