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.
Upgrade 5.x to 2024.x
-
danderson
Re: Upgrade 5.x to 2024.x
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
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
-
AngeloMileto
- Posts: 70
- Joined: Mon Mar 21, 2022 7:53 am
Re: Upgrade 5.x to 2024.x
Thanks for the information! This is a virtual machine so the plan is snapshot prior to starting and revert if there are any issues.
-
danderson
Re: Upgrade 5.x to 2024.x
Hope everything goes well! Let me know if you have any further questions
Re: Upgrade 5.x to 2024.x
Thanks for sharing the details.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