Upgrade Centos and NagiosXI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Kujab
Posts: 23
Joined: Mon Jan 16, 2012 6:06 am

Upgrade Centos and NagiosXI

Post by Kujab »

Hello,
I have got Nagios XI 5.7.5 on CentOS release 6.9 (Final). What's the easiest way to upgrade ? Should I download new VMware image and restore to this new installation backup from the old system ?
Or is there any other better procedure ?
I need to preserve all my settings, history, checks, etc.
Thank you for your help

Jakub Hauzner
oliviergautreau
Posts: 11
Joined: Tue Mar 31, 2020 9:22 am

Re: Upgrade Centos and NagiosXI

Post by oliviergautreau »

Hi there,
we have exactly the same question:
What would be the best way to upgrade ?
We are also using a Nagios VM.
Best regards, Olivier

A new Nagios XI update is available.
5.8.1 was released on January 15th, 2021.
Visit http://www.nagios.com to obtain the latest update.
Latest Available Version: 5.8.1
Installed Version: 5.7.3
Last Update Check: 2021-01-18 21:21:39

Code: Select all

[root@snag001 nagiosxi]# ./upgrade
------------------------------
 CentOS/RHEL 6 - End of Life
------------------------------

Nagios XI no longer supports CentOS/RHEL 6 due to it being EOL as of 11/30/2020.
If you'd like to upgrade your Nagios XI past 5.7.5, you will need to install it on
a supported distro such as CentOS/RHEL 7 or 8.

For more information on how to transition, please visit the support forum:
https://support.nagios.com/forum/

Code: Select all

   
^[[H^[[2J^[]P64d89f9^[]P7ffffff^[[30;47m                                                                             
 ▄▄▄   ▄▄                      ██                    (R)^[[36m  ▄▄▄  ▄▄▄   ▄▄▄▄▄▄  ^[[30mTM
 ███   ██                      ▀▀                       ^[[36m   ██▄▄██    ▀▀██▀▀  ^[[30m
 ██▀█  ██   ▄█████▄   ▄███▄██  ██   ▄████▄   ▄▄█████▄   ^[[36m    ████       ██    ^[[30m
 ██ ██ ██   ▀ ▄▄▄██  ██▀  ▀██  ██  ██▀  ▀██  ██▄▄▄▄ ▀   ^[[36m     ██        ██    ^[[30m
 ██  █▄██  ▄██▀▀▀██  ██    ██  ██  ██    ██   ▀▀▀▀██▄   ^[[36m    ████       ██    ^[[30m
 ██   ███  ██▄▄▄███  ▀██▄▄███  ██  ▀██▄▄██▀  █▄▄▄▄▄██   ^[[36m   ██  ██    ▄▄██▄▄  ^[[30m
 ▀▀   ▀▀▀   ▀▀▀▀ ▀▀   ▄▀▀▀ ██  ▀▀    ▀▀▀▀     ▀▀▀▀▀▀    ^[[36m  ▀▀▀  ▀▀▀   ▀▀▀▀▀▀  ^[[30m
 ▀▀▀▀▀▀▀▀             ▀████▀▀
~

benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Upgrade Centos and NagiosXI

Post by benjaminsmith »

Hi @Jakub,

The restore script does all the work and will transfer everything over from the backup up the archive. Just remember to always restore between the same versions of Nagios XI. Also, if you are switching OS families, there's another script that is required, see page 10 of the guide below.

Backing Up And Restoring Your Nagios XI System

Since Cent 6 is EOL, I would recommend installing Cent 7 or 8 and Nagios XI 5.7.5 on the new server, then restore and upgrade to the lastest version of XI.

You can download previous versions of Nagios XI on the following page.

https://assets.nagios.com/downloads/nag ... rsions.php

Also, your Nagios XI license allows for 3 activations, production, backup and test, so you can setup another test instance for a smooth transition between upgrades.

Let us know if you have any questions or need assistance.

--Benjamin
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!
Kujab
Posts: 23
Joined: Mon Jan 16, 2012 6:06 am

Re: Upgrade Centos and NagiosXI

Post by Kujab »

Hello Benjamin,

could you send me a link for VMware image with Centos 7 (which has EOL 2023) with Nagios XI 5.7.5 ? Seems to be a fastest way to upgrade. Thank you.

Best regards

Jakub

benjaminsmith wrote:Hi @Jakub,

The restore script does all the work and will transfer everything over from the backup up the archive. Just remember to always restore between the same versions of Nagios XI. Also, if you are switching OS families, there's another script that is required, see page 10 of the guide below.

Backing Up And Restoring Your Nagios XI System

Since Cent 6 is EOL, I would recommend installing Cent 7 or 8 and Nagios XI 5.7.5 on the new server, then restore and upgrade to the lastest version of XI.

You can download previous versions of Nagios XI on the following page.

https://assets.nagios.com/downloads/nag ... rsions.php

Also, your Nagios XI license allows for 3 activations, production, backup and test, so you can setup another test instance for a smooth transition between upgrades.

Let us know if you have any questions or need assistance.

--Benjamin
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Upgrade Centos and NagiosXI

Post by benjaminsmith »

HI,

Sure can, here's the link:

Code: Select all

https://assets.nagios.com/downloads/nagiosxi/5/ovf/nagiosxi-5.7.5-64.ova
Let us know if you need anything else.

Benjamin
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!
hillhealthcenter
Posts: 174
Joined: Fri Sep 21, 2012 7:45 am
Location: New Haven, CT

Re: Upgrade Centos and NagiosXI

Post by hillhealthcenter »

Hello Nagios Support,

Is there a document with step-by-step instructions detailing the OS migration process?

I'd like to limit the number of times I bang my head on my desk during the process, as I tend to become unconcious somewhere between 5-10 reps. :)
Thanks so much,
Tom
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Upgrade Centos and NagiosXI

Post by benjaminsmith »

Hi Tom,

Everything should be coverd in the following guide:

Backing Up And Restoring Your Nagios XI System

In your situation, I would do the following steps:

1. Install new VM with Nagios XI 5.7.5 using the OVA link below with CentOS 7.

Code: Select all

https://assets.nagios.com/downloads/nagiosxi/5/ovf/nagiosxi-5.7.5-64.ova
2. Run a backup on the current Cent 6 system.

Code: Select all

/usr/local/nagiosxi/scripts/backup_xi.sh
3. Transfer the backup archive from the Cent 6 server to Cent 7 system. The backups are in the following folder:

Code: Select all

/store/backups/nagiosxi/
4. Run the restore script to transfer your configuration files, user accounts, and historical data.

Code: Select all

/usr/local/nagiosxi/scripts/restore_xi.sh </full/path/to/backupfile.tar.gz>
5.Change the IP address on the Cent 7 system. See page 13 of the guide.

6. Upgrade to the latest version of Nagios XI

Code: Select all

wget -O upgrade.sh https://assets.nagios.com/downloads/nagiosxi/upgrade.sh
sh ./upgrade.sh
At this point, review the incoming check results for any errors. Some plugins will require extra packages that would not be installed on the OVA, so those made need updates in order to successfully run.

Hope that helps. Let me know if you need assistance with anything.

Benjamin
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!
Locked