Upgrading to the latest version

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Upgrading to the latest version

Post 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 ?
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Upgrading to the latest version

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Upgrading to the latest version

Post 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 ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrading to the latest version

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Upgrading to the latest version

Post 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:
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrading to the latest version

Post 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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Upgrading to the latest version

Post 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
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrading to the latest version

Post 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?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Frédéric GRANAT
Posts: 445
Joined: Mon Nov 19, 2012 11:36 am

Re: Upgrading to the latest version

Post by Frédéric GRANAT »

No issues,
It seems to work.
Thanks, you can close the post
Locked