Migrate Server From Nagios Core 4.4.3 to Nagios xi

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
kevin_funk
Posts: 3
Joined: Tue Mar 02, 2021 2:42 pm

Migrate Server From Nagios Core 4.4.3 to Nagios xi

Post by kevin_funk »

Hello,

I am getting the following error when using the migrate server utility on my newly built Nagios xi machine:

Code: Select all

Error: Could not transfer the configuration.

The script exited with an error on remote system:
Repository control is listed more than once in the configuration http://mirror.rackspace.com/centos/6/os/x86_64/repodata/repomd.xml:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" 
Trying other mirror. To address this issue please refer to the below wiki article https://wiki.centos.org/yum-errors 
If above article doesn't help to resolve this issue please use https://bugs.centos.org/. http://mirror.rackspace.com/centos/6/extras/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" 
Trying other mirror. http://mirror.rackspace.com/centos/6/updates/x86_64/repodata/repomd.xml:
[Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found" 
Trying other…
The OS being migrated from is CentOS 6 and the new machine is CentOS 7, but I am not sure why I am getting the ../centos/6/os/.. url being referenced for the 404 Not Found

Any help or suggestions would be greatly appreciated!
kevin_funk
Posts: 3
Joined: Tue Mar 02, 2021 2:42 pm

Re: Migrate Server From Nagios Core 4.4.3 to Nagios xi

Post by kevin_funk »

I have been trying to figure out how to get around the yum mirror for rackspace.

I believe they have removed their CentOS 6 repo and that is whats causing the error.

Still looking for help on how to get this migrate server utility to work.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Migrate Server From Nagios Core 4.4.3 to Nagios xi

Post by benjaminsmith »

Hi,

It may be due to a corrupted yum cache, run the following commands then try once more.

Code: Select all

yum clean all
rm -rf /var/cache/yum/*
Also, make sure you have python installed on the target system.

Code: Select all

python -V
Let me know if that resolves the issue or not. Also, if they have removed the Cent 6 repos, it will be necessary to use the CentOS Vault repositories.

See: https://www.getpagespeed.com/server-set ... 6-went-eol

Reference
Automatic Nagios Core Migration to Nagios xi
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!
kevin_funk
Posts: 3
Joined: Tue Mar 02, 2021 2:42 pm

Re: Migrate Server From Nagios Core 4.4.3 to Nagios xi

Post by kevin_funk »

The yum module is definitely broken, since the host has disabled the CentOS 6 repository apparently.
dchurch
Posts: 858
Joined: Wed Oct 07, 2020 12:46 pm
Location: Yo mama

Re: Migrate Server From Nagios Core 4.4.3 to Nagios xi

Post by dchurch »

Did you get a chance to follow the remedy mentioned in that article? Did you get any errors after following those steps?
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.

Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.