Page 1 of 1
Nagios XI Migrate Server not working.
Posted: Mon Oct 14, 2024 10:19 am
by arthurkroth
Hi Folks,
I'm moving my Nagios XI 5.11.1 server from CentOS 7.9.2009 to a Ubuntu 22.04.
I have the new server up and running but the "Migrate Server" tool is not working as shown in the screenshot.
I have SSH enabled on both servers and have a bi-directional rule on my firewall to allow the communication between servers.
I have python installed on both servers.
Do you know where I should be able to find the logs of the migration? Or what that non-zero return code means exactly?
Thanks in advance

Re: Nagios XI Migrate Server not working.
Posted: Mon Oct 14, 2024 12:33 pm
by gwesterman
Hi @arthurkroth,
Here is a link to our officially supported migration processes which requires backing up your old server and restoring it to the new server. If you have not already, give this process a try. Let us know if you run into any issues and if you have any additional questions.
Thank you!
Re: Nagios XI Migrate Server not working.
Posted: Wed Oct 16, 2024 9:21 am
by arthurkroth
Hi @gwesterman.
Thanks for your reply.
The "Manual" migration worked with no issues. I have just a thing that I couldn't find in the forum:
I have migrated servers, and my new server is on a different IP and VLAN. While testing the connectivity with a few hosts and manually triggering alerts to check the email notifications, I spotted that the OLD server IP was being sent on the notification when checking the email received from Nagios.
When checking on Admin > Notification Management(Screenshot), I can see that the following variables are being used:
Respond: %responseurl%
Nagios URL: %xiserverurl%
Do you know where that info is hardcoded? I can confirm that the notifications are being sent from the new server, but the variables are taking the IP from the old server.
I really appreciate any help you can provide.
Re: Nagios XI Migrate Server not working.
Posted: Wed Oct 16, 2024 4:32 pm
by jmichaelson
Have a look at what's in Admin->System settings.
Re: Nagios XI Migrate Server not working.
Posted: Thu Oct 17, 2024 3:51 am
by arthurkroth
Hi @jmichaelson.
Thanks very much for that, it was right in front of my eyes.
Thanks for your time
Regards,
Arthur