Moving a Nagios xi 5.6.9 instance to a new server

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
IT_LAS
Posts: 27
Joined: Mon Dec 30, 2019 5:34 am

Moving a Nagios xi 5.6.9 instance to a new server

Post by IT_LAS »

I'm moving a Nagios xi 5.6.9 instance from Debian 9 to Ubuntu Server 24 so I can update it to the latest version availabe.
After downloading the installation package for the 5.6.9 version and launching the fullinstall script it gives a lot of errors related to php5 packages missing and some more.


Is it possible to install Nagios xi 5.6.9 on Ubuntu Server 24 or is it better to choose another OS?
User avatar
lgute
Posts: 318
Joined: Mon Apr 06, 2020 2:49 pm

Re: Moving a Nagios xi 5.6.9 instance to a new server

Post by lgute »

Hi @IT_LAS, thanks for reaching out.

This matrix shows the supported versions of xi for each operating system.

Unfortunately, Debian 9 is no longer on the matrix, so going by the xi CHANGELOG, the highest version of xi supported for Debian 9 is 5.9.2. Also, none of the currently supported distros support xi 5.6.9.

Since the versions of xi need to be the same on both operating systems, upgrading to xi 5.9.2 would allow you to move to Ubuntu 22. Once on Ubuntu 22, you could upgrade to 2024R1.2 or higher, which would then allow you to move to Ubuntu 24, through a similar process.
Please let us know if you have any other questions or concerns.

-Laura
IT_LAS
Posts: 27
Joined: Mon Dec 30, 2019 5:34 am

Re: Moving a Nagios xi 5.6.9 instance to a new server

Post by IT_LAS »

Hello
Unfortunately, I no longer have access to the computer that hosted the old version of Nagios and cannot do the upgrade process to version 5.9.2.
I only have the latest backup package of the Nagios xi installation from that machine.
I am trying to mount again a Debian 9 machine to continue with the process but when I launch the fullinstall script I am getting this error:

Code: Select all

Collecting pymssql<3
  Using cached https://files.pythonhosted.org/packages/30/66/f98a16e1db6592b9ab7fa85a3cb5542b4304178b6ad67928e69927590493/pymssql-2.3.1.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-5EgnT6/pymssql/setup.py", line 54
        raise Exception(f"Unsupported environment value {env_name}={val}")
                                                                        ^
    SyntaxError: invalid syntax

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-5EgnT6/pymssql/
RESULT=1
Any idea on how to solve this error?
User avatar
lgute
Posts: 318
Joined: Mon Apr 06, 2020 2:49 pm

Re: Moving a Nagios xi 5.6.9 instance to a new server

Post by lgute »

Hi @IT_LAS,

This post on askubuntu.com may help.

If you need more assistance than this free support forum can provide, please open a ticket with Nagios Support at https://answerhub.nagios.com/support/s/.
Please let us know if you have any other questions or concerns.

-Laura
IT_LAS
Posts: 27
Joined: Mon Dec 30, 2019 5:34 am

Re: Moving a Nagios xi 5.6.9 instance to a new server

Post by IT_LAS »

Hi,
I've found the issue, it's related to the version of a python module (pymssql) that's referenced on the 01-prereqs file.
After tweeking this file so it uses an older version, the installing process gets to run without problems (for the moment, it's still running :) )
sgardil
Posts: 327
Joined: Wed Aug 09, 2023 9:58 am

Re: Moving a Nagios xi 5.6.9 instance to a new server

Post by sgardil »

IT_LAS wrote: Mon Oct 28, 2024 10:08 am Hi,
I've found the issue, it's related to the version of a python module (pymssql) that's referenced on the 01-prereqs file.
After tweeking this file so it uses an older version, the installing process gets to run without problems (for the moment, it's still running :) )
Hey @IT_LAS

Glad you found a work around for your python package. You mentioned earlier you didn't have access to the machine so were you able to find a way to upgrade your system to newer versions? Ubuntu 24 support was added in 2024R1.2 version so there will have to be a few steps if you want to be on Ubuntu 24 like Laura mentioned.