Upgrade 5.x to 2024.x

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
AngeloMileto
Posts: 70
Joined: Mon Mar 21, 2022 7:53 am

Upgrade 5.x to 2024.x

Post 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.
danderson

Re: Upgrade 5.x to 2024.x

Post 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
AngeloMileto
Posts: 70
Joined: Mon Mar 21, 2022 7:53 am

Re: Upgrade 5.x to 2024.x

Post 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.
danderson

Re: Upgrade 5.x to 2024.x

Post by danderson »

Hope everything goes well! Let me know if you have any further questions
Mikasa23
Posts: 25
Joined: Thu Jul 06, 2023 3:12 am

Re: Upgrade 5.x to 2024.x

Post 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.
Post Reply