Skip to main content
Solved

Poller Down since an upgrade

  • April 9, 2024
  • 6 replies
  • 206 views

Forum|alt.badge.img+2

Hi ! 

Since an upgrade of Centreon 22.10 to 23.10 and a change of database password, i have a database issue and poller not running 

all services is up. 

In central broker master log we have any errors : 

cat /var/log/centreon-broker/central-broker-master.log
[2024-04-08T17:00:23.324+00:00] [tcp] [error] TCP: Connection refused to localhost:5671
[2024-04-08T17:00:23.324+00:00] [processing] [error] failover central-broker-master-input: global error: failover: 'central-broker-master-input' cannot connect endpoint.

we should not have modified the database at the same time, we modified the passwords in the conf files. Maybe we missed something?

Thanks for your help 🙏

 

Best answer by vcoum

Hello

In your central module master Output, you need to put in the Host to connect to field the value localhost. Then Export config on Central and restart centengine

central module master is the “poller” part of the Central, and you need to put the address of the broker master where it will send it’s monitoring data

In the case central module master, it’s on the same server, so you put localhost

If you leave the field empty, it will try to listen on the port 5669, but the central-broker-master input already listen on that port, wich explain the error you get on the logs

 

Hope it helps

6 replies

Forum|alt.badge.img+4
  • Steward **
  • 9 replies
  • April 9, 2024

Hello, 

 

Have you tried to restart centreon service ? 

I have already encountered a similar problem sometimes after upgrades.


Forum|alt.badge.img+2
  • Author
  • Steward *
  • 5 replies
  • April 9, 2024

yes, already try to reboot service and system completely. No change.. 😐


ponchoh
Centreonian
Forum|alt.badge.img+14
  • Centreonian
  • 531 replies
  • April 9, 2024

Hello @nicolas.parents , can you check your inputs under the broker configuration:

 

 

https://docs.centreon.com/docs/monitoring/monitoring-servers/advanced-configuration/


Forum|alt.badge.img+2
  • Author
  • Steward *
  • 5 replies
  • April 10, 2024

Hello ponchoh,

I don't know why but the connection port was 5671.. I changed it back to 5669 and rebooted.

Since then I no longer have any errors in central-broker-master.log but errors have appeared in central-moduke-master.log :


[2024-04-10T12:11:53.837+00:00] [processing] [error] failover central-module-master-output: global error: bind: Address already in use [system:98 at /root/.conan/data/boost/1.82.0/_/_/package/8b7ad828a7d2effe0015f07893e6026d9a742b53/include/boost/asio/detail/reactive_socket_service.hpp:161 in function 'bind']
 

I attach broker configuration : 

 

central-broker-master  :

central module master :

central rrd master : 

 

HELP ! :)


vcoum
Centreon Lord Commander
Forum|alt.badge.img+13
  • Centreon Lord Commander
  • 137 replies
  • Answer
  • April 11, 2024

Hello

In your central module master Output, you need to put in the Host to connect to field the value localhost. Then Export config on Central and restart centengine

central module master is the “poller” part of the Central, and you need to put the address of the broker master where it will send it’s monitoring data

In the case central module master, it’s on the same server, so you put localhost

If you leave the field empty, it will try to listen on the port 5669, but the central-broker-master input already listen on that port, wich explain the error you get on the logs

 

Hope it helps


Forum|alt.badge.img+2
  • Author
  • Steward *
  • 5 replies
  • April 15, 2024

Hello vcoum,

It works, thanks a lot !!