Solved

Poller Down since an upgrade

  • 9 April 2024
  • 6 replies
  • 72 views

Badge +1

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 🙏

 
icon

Best answer by vcoum 11 April 2024, 15:05

View original

6 replies

Userlevel 1
Badge +4

Hello, 

 

Have you tried to restart centreon service ? 

I have already encountered a similar problem sometimes after upgrades.

Badge +1

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

Userlevel 4
Badge +13

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

 

 

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

Badge +1

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 ! :)

Userlevel 5
Badge +11

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

Badge +1

Hello vcoum,

It works, thanks a lot !!

Reply