Upgrade Nagvis from 1.5.9 to 1.9.8 on Nagios XI 5.5.7

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ghugon
Posts: 23
Joined: Tue May 07, 2019 7:55 am

Upgrade Nagvis from 1.5.9 to 1.9.8 on Nagios XI 5.5.7

Post by ghugon »

Hi,

For some internal reasons that are not relevant anymore, Nagvis was downgraded from 1.9.8 to 1.5.9.
I'd like to update it back to 1.9.8.
Will I be fine running the upgrade script or will I have an issue ?

Thanks in advance.
Best regards.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade Nagvis from 1.5.9 to 1.9.8 on Nagios XI 5.5.7

Post by lmiltchev »

You should be able to remove the old version of NagVis by going to Admin > Manage Components, and clicking on the "Delete" button. Then, you could rerun the upgrade script with the "-f" flag, which will force reinstalling all of the addons (including NagVis):

Code: Select all

cd /tmp/nagiosxi
./upgrade -f
Important: Prior to removing the old NagVis and installing the "new" version, make backups of all NagVis configs, custom maps, whatnot. Backup Nagios XI, so that you could restore from the backup if things don't go as planned. If this is a VM, you can create a snapshot as well (just in case).

Here's our documentation on backing up and restoring Nagios XI:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Hope this helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
ghugon
Posts: 23
Joined: Tue May 07, 2019 7:55 am

Re: Upgrade Nagvis from 1.5.9 to 1.9.8 on Nagios XI 5.5.7

Post by ghugon »

I'll make sure to backup everything, XI is indeed on a VM so I'll make sure to create a snapshot.

Are yout talking about running the nagios upgrade script ? (Not sure where it is btw, it's not in /usr/local/nagiosxi/scripts/.
Because I was actually thinking about running the nagvis upgrade script (/usr/local/nagiosxi/html/includes/components/nagvis/upgrade.sh).
Do you think that'll work ?
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Upgrade Nagvis from 1.5.9 to 1.9.8 on Nagios XI 5.5.7

Post by lmiltchev »

No, I was talking about the "upgrade" script inside the original nagiosxi install directory. If you no longer have it, you could do:

Code: Select all

cd /tmp
rm -rf xi* nagiosxi*
wget https://assets.nagios.com/downloads/nagiosxi/5/xi-5.5.7.tar.gz
tar xvf xi-5.5.7.tar.gz
cd nagiosxi
./upgrade -f
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked