Page 1 of 1
How to upgrade nagiosxi command line
Posted: Thu Nov 04, 2021 12:20 pm
by hdurans
Hi,
I have a question about to upgrade nagiosxi this is the actual version: 5.8.3 and I need to upgrade to 5.8.7 and the nagios have the database offsite,
which is the best form to upgrade the nagiosxi to version 5.8.7?
Thanks,
Re: How to upgrade nagiosxi command line
Posted: Thu Nov 04, 2021 4:48 pm
by benjaminsmith
Hi,
The upgrade script will use the offloaded credentials for the database, so the process is the same. Take a full backup or VM snapshot, log into the system as
root, and run the following commands to upgrade.
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
Let us know if you have other questions.
Regards, Benjamin
References:
Nagios XI Upgrade Instructions
Backing Up And Restoring Your Nagios XI System
Re: How to upgrade nagiosxi command line
Posted: Thu Nov 11, 2021 2:19 pm
by hdurans
Thank you, for your help.
I do your recommendations and works fine.
Total Warnings: 0
Total Errors: 0
Things look okay - No serious problems were detected during the pre-flight check
> Return Code: 0
--------------------------------------
Nagios XI Upgrade Complete!
---------------------------
You can access the Nagios XI web interface by visiting:
http://XXX.XXX.XXX.XXX/nagiosxi/
Re: How to upgrade nagiosxi command line
Posted: Fri Nov 12, 2021 10:12 am
by ssax
That's great to hear! Let us know when we're okay to lock this up and mark it as resolved.