Page 1 of 1
Moving a Nagios XI 5.6.9 instance to a new server
Posted: Tue Oct 22, 2024 7:00 am
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?
Re: Moving a Nagios XI 5.6.9 instance to a new server
Posted: Tue Oct 22, 2024 8:54 am
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.
Re: Moving a Nagios XI 5.6.9 instance to a new server
Posted: Mon Oct 28, 2024 4:46 am
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?
Re: Moving a Nagios XI 5.6.9 instance to a new server
Posted: Mon Oct 28, 2024 9:02 am
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/.
Re: Moving a Nagios XI 5.6.9 instance to a new server
Posted: Mon Oct 28, 2024 10:08 am
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

)
Re: Moving a Nagios XI 5.6.9 instance to a new server
Posted: Mon Oct 28, 2024 12:10 pm
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.