Page 1 of 1

Upgrading to the latest version

Posted: Fri Jun 14, 2019 3:48 am
by Frédéric GRANAT
Hi,
I need to upgrade to the latest Nagiosxi version.
I plan to upgrade by the following manner :
1) Install NagiosXI on a VMware virtual machine (VM) using : https://www.nagios.com/downloads/nagios-xi/vmware/
2) Export my datas/configuration from the production to the new VM using : https://assets.nagios.com/.../nagiosxi/ ... ios-XI.pdf

Is it the good way to proceed ?

Re: Upgrading to the latest version

Posted: Fri Jun 14, 2019 9:34 am
by benjaminsmith
Hi Frederic,

That looks good. Follow the instructions in the Backing Up and Restoring Nagios XI for detailed steps. You want to migrate between the same versions. For example, if you have installed 5.6.3 on the new VM using the ova, you'll want to upgrade the current server to 5.6.3 before backing up and migrating the data.

Let me know if you need clarification on anything.

Re: Upgrading to the latest version

Posted: Mon Jun 17, 2019 3:18 am
by Frédéric GRANAT
Hi,
I want to upgrade to a new version : you mean I could simply upgrade my current production server without creating a new VM ?

Re: Upgrading to the latest version

Posted: Mon Jun 17, 2019 9:32 am
by lmiltchev
This is correct. Even if you started off with one of our "pre-built" VMs, you could always upgrade your Nagios XI instance by running:

Code: Select all

cd /tmp
rm -rf nagiosxi xi*.tar.gz
wget http://assets.nagios.com/downloads/nagiosxi/xi-latest.tar.gz
tar xzf xi-latest.tar.gz
cd nagiosxi
./upgrade
provided your Nagios XI instance is connected to the Internet. As always, make sure you do all of your backups prior to making any changes to the server.

Re: Upgrading to the latest version

Posted: Mon Jun 17, 2019 10:28 am
by Frédéric GRANAT
Hi,
I've just upgraded to latest and now my GUI displays version 5.6.3 (before it was 5.3.0)
But the GUI looks like the previous version. How can I check that the upgrade worked ?

The upgrade terminated by :

Nagios XI Upgrade Complete!
---------------------------

You can access the Nagios XI web interface by visiting:

Re: Upgrading to the latest version

Posted: Mon Jun 17, 2019 12:36 pm
by lmiltchev
What version do you see when you run the following command?

Code: Select all

cat /usr/local/nagiosxi/var/xiversion
Can you switch to a dark theme?

Right-click on the username in the upper right corner > User Interface Theme = Modern Dark > Update Settings

Note: Dark theme was not available in Nagios XI 5.3.0.

Re: Upgrading to the latest version

Posted: Tue Jun 18, 2019 1:35 am
by Frédéric GRANAT
Hi

Code: Select all

[root@nagiosxi tmp]# cat /usr/local/nagiosxi/var/xiversion
###################################
# DO NOT DELETE THIS FILE!
# Nagios XI version information
###################################
full=5.6.3
major=5
minor=6.3
releasedate=2019-06-11
release=5603
You have mail in /var/spool/mail/root
Can you switch to a dark theme?
=> Yes

Re: Upgrading to the latest version

Posted: Tue Jun 18, 2019 9:13 am
by lmiltchev
Well, it seems like that you were able to upgrade successfully. Seeing Nagios XI 5.6.3 on the bottom left means that ALL of the files have been copied successfully. Is everything working as expected or you are having issues after the upgrade?

Re: Upgrading to the latest version

Posted: Tue Jun 18, 2019 9:22 am
by Frédéric GRANAT
No issues,
It seems to work.
Thanks, you can close the post