Hello, I am trying to migrate a central center 22-10 remote to later add it to an existing plant. I get this error but I can't find anything on the Internet. Thanks a lot:
/usr/share/centreon/bin/registerServerTopology.sh -u admin -t remote -h Central-IP -n Poller-name
Please enter the password of Central-IP:
Summary of the information that will be sent:
Api Connection:
username: admin
password: ******
target server: Central-IP
Pending Registration Server:
name: Poller-name
hostname: centreon
type: remote
address: IP_Poller
Do you want to register this server with the previous information? (y/n): y
More information is required to convert your platform into Remote :
IP_Poller : Please enter your username: admin
Please enter the password of IP_Poller:
IP_Poller : Protocol http]:
IP_Poller : Port l80]:
IP_Poller : centreon root folder rcentreon]:
Are you using a proxy ? (y/n): n
2022-12-21 13:20:25+01:00 - ERROR - IP_Poller: {"code":500,"message":"The address '' of '' is not valid or not resolvable"}
And i tried:
root@centreon-cos centreon-gorgone]# /usr/share/centreon/bin/registerServerTopology.sh -u admin -t poller -h Central-IP -n Poller-name
Please enter the password of Central-IP:
Summary of the information that will be sent:
Api Connection:
username: admin
password: ******
target server: Central-IP
Pending Registration Server:
name: Poller-name
hostname: centreon
type: poller
address: IP_Poller
Do you want to register this server with the previous information? (y/n): y
2022-12-21 13:55:38+01:00 - ERROR - http://Central-IP:80: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://Central-IP/centreon/api/latest/login">here</a>.</p>
</body></html>