Skip to main content
Solved

Can't attach remote poller to central with registerServerTopology.sh

  • September 4, 2024
  • 6 replies
  • 210 views

Forum|alt.badge.img+5

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

Best answer by jboss

issue comes from firewall equipement.

6 replies

itoussies
Centreonian
Forum|alt.badge.img+11
  • Centreonian
  • September 5, 2024

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

 


Forum|alt.badge.img+5
  • Author
  • Steward **
  • September 6, 2024

hello, i’ve got same issue with port 443

 

 


Forum|alt.badge.img+5
  • Author
  • Steward **
  • Answer
  • September 9, 2024

issue comes from firewall equipement.


Forum|alt.badge.img+1
  • Steward *
  • May 13, 2025

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


Forum|alt.badge.img+5
  • Author
  • Steward **
  • May 14, 2025

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


Forum|alt.badge.img+1
  • Steward *
  • May 14, 2025

Hello Jboss, 

Thanks for your quick reply. I appreciated it !

 

Best regards,

BigCroco