Skip to main content

Hello;

i just fresh install a server central with the automatic processus “Unattended installation of a central server” version 24.04

once installed , i set the https access to the central GUI and i can connect on it with a self certificate.

 

Now i would like to register a remote server with same process install “Unattended installation of a central server” version 24.04”.

once installed, when i run 

/usr/share/centreon/bin/registerServerTopology.sh -u admin -t remote -h ipcentral -n remoteserver1 --insecure

i have this issue:

 

2024-09-04 18:25:46+02:00 - ERROR - ip remoteserver: {"code":500,"message":"Request to the Central's API failed : Recv failure: Connection reset by peer for \"http:\/\/ipcentral\/centreon\/api\/v24.04\/login\"."}

 

could you help me?

thank

Hello,

When using HTTPS, you need to add the protocol and the port with the central IP/FQDN:

/usr/share/centreon/bin/registerServerTopology.sh -u admin -t remote -h https://ipcentral:443 -n remoteserver1 --insecure

 


hello, i’ve got same issue with port 443

 

 


issue comes from firewall equipement.


Hello jboss, tell me, what rules did you enable so the remote server can be registred on stand-by for the Central. Because I have the same issue but I can’t see whether my network config on the firewall is wrong. 

Appreciate your help.

 

Thanks


Hello BigCroco,

 

these rules need to be allowed as official documentation:

Central → Remote servers : ping +TCP 443 + TCP 80 + TCP 5556 (ZMQ) (+ TCP 22)

Remote Server → Central: Ping + TCP 5669 (BBDO)  (+ TCP 22)

 

ps:tcp 22 is needed if you not used tcp 5556


Hello Jboss, 

Thanks for your quick reply. I appreciated it !

 

Best regards,

BigCroco


Reply