Skip to main content

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
r2024-04-08T17:00:23.324+00:00] 0tcp] cerror] TCP: Connection refused to localhost:5671
r2024-04-08T17:00:23.324+00:00] 0processing] nerror] 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 🙏

 

Hello, 

 

Have you tried to restart centreon service ? 

I have already encountered a similar problem sometimes after upgrades.


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


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

 

 

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


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


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


Hello vcoum,

It works, thanks a lot !!


Reply