Page 1 of 1
Can NagiosXI running on CentOS 6.5 upgrade to Latest XI ver
Posted: Mon Nov 09, 2020 9:58 pm
by dimsum
Hi,
I have a plan to upgrade my Nagios XI 5.6.3 running on CentOS 6.5 I have a question, Can I do in place upgrading directly and what its best between upgrade by shell script and by GUI ? or have to do manually install another new version of OS first to be supported latest XI.
Thanks and Regards,
Re: Can NagiosXI running on CentOS 6.5 upgrade to Latest XI
Posted: Tue Nov 10, 2020 4:48 pm
by benjaminsmith
Hi
@dimsum
That's a good question. Since you will have to take the monitoring application offline while it downloads and compiles all the new packages. we recommend and test upgrades a on new version/installation of a supported OS.
Your license allows for 3 activations (production, test, and backup), so you can upgrade on a test system before switching it over for a smooth transition.
Nagios XI License Entitlements
https://support.nagios.com/kb/article.php?id=145
Let us know if you have more questions.
Benjamin
Re: Can NagiosXI running on CentOS 6.5 upgrade to Latest XI
Posted: Thu Nov 12, 2020 4:03 am
by dimsum
Hi Guru,
My upgrade has reached version 5.7.0 then it was stuck in status "DB upgrade required for 2.1.0" as per attachment. so i'm not sure if this can be the internet intermittent or DB error that need to be repaired or not.
Regards,
Re: Can NagiosXI running on CentOS 6.5 upgrade to Latest XI
Posted: Thu Nov 12, 2020 5:11 pm
by benjaminsmith
HI
@dimsum,
What is the current status of the server and is this a production instance?
For 5.7.x the backend database was re-written. It looks like it failed where it needs to make some updates on the database. It could be a connection issue or corrupted tables.
Did this file get created?
I would run the database repair script and try once more.
Code: Select all
/usr/local/nagiosxi/scripts/repair_databases.sh
If that doesn't work, please run the following commands.
Code: Select all
rm -rf /usr/local/nagiosxi/var/components/profile*​​
/usr/local/nagiosxi/scripts/components/getprofile.sh SUPPORT
Then send us the resulting /usr/local/nagiosxi/var/components/profile.zip​ file.​