Page 1 of 1

Error migrating from Nagios Core

Posted: Tue Mar 30, 2021 7:50 am
by SoporteGSID
Hi,

I am migrating from Nagios Core 3.2.3 to Nagios XI 5.8.2 and always shows the following error:

X Bundled and transferred Nagios Core data
X Prepared Nagios Core data for import
X Imported Nagios Core data into Nagios XI
X Applied new configuration in Nagios XI

Error: Could not transfer the configuration.

The script exited with an error on remote system:
This system is not registered with RHN Classic or Red Hat Satellite. You can use rhn_register to register. Red Hat Satellite or RHN Classic support will be disabled. Error: Cannot find a valid baseurl for repo: base


Both systems are CentOS, one with CentOS 6.9 (Nagios Core) and other with CentOS Stream 8 (Nagios XI). Any ideas?

Re: Error migrating from Nagios Core

Posted: Tue Mar 30, 2021 4:24 pm
by benjaminsmith
Hi @SoporteGSID,

This is most likely the result of the repos being out of date on the Cent 6 system.. Does the system have access to the repos? If not it will be necessary to use the CentOS Vault repositories.

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

If that's not the issue, 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
--Benjamin

Re: Error migrating from Nagios Core

Posted: Wed Mar 31, 2021 4:06 am
by SoporteGSID
Hi Benjamin, thanks for your reply!

You were right, the repos were out of date, I didn't think the CentOS version could be a problem (or the repos in this case). Following the instructions at GetPageSpeed I've been able to migrate to Nagios XI.

Again, thank you very much for your help.

Re: Error migrating from Nagios Core

Posted: Wed Mar 31, 2021 11:15 am
by dchurch
Glad to hear you resolved it! Locking thread.

If you have any additional issues, feel free to make a new thread.