Question

Poller is not running


Badge +2

Apres avoir installer un Poller centreon , celui ci refuse de demarrer

Mon poller “is not running” 

J’ai remarqué eglament un logo rouge concernant les databases!

Est ce lié ?

Merci

Cordialement


18 replies

Userlevel 4
Badge +16

Hello  @stephanepainot 

Yes it’s linked.

On the central, you can try this command, after an export of the configuration:

systemctl restart cbd centengine gorgoned

And you read this article too: 

 

Badge +2

I tryed this command,  and exported  the configuration but the result is the same :” Not running”

 

I feel like I've tried everything...
Userlevel 4
Badge +16

Ok.
Did you read the article ?

Can you give the return of the latest /var/log/messages, /var/log/centreon-broker/central-broker-master.log ?

Badge +2

Yes I always read this article. It’s the same

I just extarct the last hour of log because it’s too long

/var/log/messages

May 25 11:58:01 centreon-central systemd: Started Session 284 of user apache.
May 25 11:58:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 11:59:01 centreon-central systemd: Created slice User Slice of apache.
May 25 11:59:01 centreon-central systemd: Started Session 285 of user apache.
May 25 11:59:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:00:01 centreon-central systemd: Started Session 287 of user centreon.
May 25 12:00:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:00:01 centreon-central systemd: Started Session 288 of user apache.
May 25 12:00:01 centreon-central systemd: Started Session 286 of user apache.
May 25 12:00:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:01:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:01:01 centreon-central systemd: Started Session 290 of user apache.
May 25 12:01:01 centreon-central systemd: Created slice User Slice of root.
May 25 12:01:01 centreon-central systemd: Started Session 289 of user root.
May 25 12:01:01 centreon-central systemd: Removed slice User Slice of root.
May 25 12:01:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:02:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:02:01 centreon-central systemd: Started Session 291 of user apache.
May 25 12:02:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:03:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:03:01 centreon-central systemd: Started Session 292 of user apache.
May 25 12:03:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:04:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:04:01 centreon-central systemd: Started Session 293 of user apache.
May 25 12:04:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:05:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:05:01 centreon-central systemd: Started Session 295 of user apache.
May 25 12:05:01 centreon-central systemd: Started Session 296 of user centreon.
May 25 12:05:01 centreon-central systemd: Started Session 294 of user apache.
May 25 12:05:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:06:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:06:01 centreon-central systemd: Started Session 297 of user apache.
May 25 12:06:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:06:04 centreon-central snmpd[1132]: send response: Failure in sendto
May 25 12:06:04 centreon-central snmpd[1132]:    -- SNMPv2-MIB::sysDescr.0
May 25 12:06:05 centreon-central snmptrapd[1135]: 2022-05-25 12:06:05 10.100.14.94(via UDP: [10.100.14.94]:1314->[255.255.255.255]:162) TRAP, SNMP v1, community public£012£011SNMPv2-SMI::enterprises.10642.200 Authentication Failure Trap (0) Uptime: 2 days, 14:20:40.88
May 25 12:06:05 centreon-central su: (to centreon) root on none
May 25 12:06:05 centreon-central systemd: Started Session c2 of user centreon.
May 25 12:06:05 centreon-central snmptrapd[1135]: 2022-05-25 12:06:05 10.100.14.93(via UDP: [10.100.14.93]:1287->[255.255.255.255]:162) TRAP, SNMP v1, community public£012£011SNMPv2-SMI::enterprises.10642.200 Authentication Failure Trap (0) Uptime: 2 days, 14:20:46.79
May 25 12:06:05 centreon-central su: (to centreon) root on none
May 25 12:06:05 centreon-central systemd: Started Session c3 of user centreon.
May 25 12:06:06 centreon-central snmpd[1132]: send response: Failure in sendto
May 25 12:06:06 centreon-central snmpd[1132]:    -- SNMPv2-MIB::sysDescr.0
May 25 12:07:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:07:01 centreon-central systemd: Started Session 298 of user apache.
May 25 12:07:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:08:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:08:01 centreon-central systemd: Started Session 299 of user apache.
May 25 12:08:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:09:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:09:01 centreon-central systemd: Started Session 300 of user apache.
May 25 12:09:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:10:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:10:01 centreon-central systemd: Started Session 302 of user apache.
May 25 12:10:01 centreon-central systemd: Started Session 303 of user apache.
May 25 12:10:01 centreon-central systemd: Started Session 301 of user centreon.
May 25 12:10:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:11:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:11:01 centreon-central systemd: Started Session 304 of user apache.
May 25 12:11:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:12:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:12:01 centreon-central systemd: Started Session 305 of user apache.
May 25 12:12:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:13:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:13:01 centreon-central systemd: Started Session 306 of user apache.
May 25 12:13:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:14:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:14:01 centreon-central systemd: Started Session 307 of user apache.
May 25 12:14:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:15:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:15:01 centreon-central systemd: Started Session 310 of user apache.
May 25 12:15:01 centreon-central systemd: Started Session 309 of user centreon.
May 25 12:15:01 centreon-central systemd: Started Session 308 of user apache.
May 25 12:15:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:16:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:16:01 centreon-central systemd: Started Session 311 of user apache.
May 25 12:16:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:17:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:17:01 centreon-central systemd: Started Session 312 of user apache.
May 25 12:17:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:18:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:18:01 centreon-central systemd: Started Session 313 of user apache.
May 25 12:18:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:19:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:19:01 centreon-central systemd: Started Session 314 of user apache.
May 25 12:19:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:20:01 centreon-central systemd: Started Session 316 of user centreon.
May 25 12:20:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:20:01 centreon-central systemd: Started Session 317 of user apache.
May 25 12:20:01 centreon-central systemd: Started Session 315 of user apache.
May 25 12:20:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:21:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:21:01 centreon-central systemd: Started Session 318 of user apache.
May 25 12:21:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:22:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:22:01 centreon-central systemd: Started Session 319 of user apache.
May 25 12:22:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:23:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:23:01 centreon-central systemd: Started Session 320 of user apache.
May 25 12:23:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:24:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:24:01 centreon-central systemd: Started Session 321 of user apache.
May 25 12:24:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:25:01 centreon-central systemd: Started Session 324 of user centreon.
May 25 12:25:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:25:01 centreon-central systemd: Started Session 323 of user apache.
May 25 12:25:01 centreon-central systemd: Started Session 322 of user apache.
May 25 12:25:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:25:03 centreon-central chronyd[735]: Source 212.83.158.83 replaced with 51.15.175.180
May 25 12:26:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:26:01 centreon-central systemd: Started Session 325 of user apache.
May 25 12:26:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:27:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:27:01 centreon-central systemd: Started Session 326 of user apache.
May 25 12:27:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:28:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:28:01 centreon-central systemd: Started Session 327 of user apache.
May 25 12:28:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:29:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:29:01 centreon-central systemd: Started Session 328 of user apache.
May 25 12:29:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:29:08 centreon-central systemd: Stopping Centreon Broker watchdog...
May 25 12:29:08 centreon-central systemd: Stopping Centreon Engine...
May 25 12:29:08 centreon-central systemd: Stopping Centreon Gorgone...
May 25 12:29:11 centreon-central systemd: Stopped Centreon Broker watchdog.
May 25 12:29:13 centreon-central systemd: Stopped Centreon Gorgone.
May 25 12:29:13 centreon-central systemd: Started Centreon Gorgone.
May 25 12:29:13 centreon-central systemd: Stopped Centreon Engine.
May 25 12:29:13 centreon-central systemd: Started Centreon Broker watchdog.
May 25 12:29:13 centreon-central systemd: Started Centreon Engine.
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Reading main configuration file '/etc/centreon-engine/centengine.cfg'.
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/hostTemplates.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/hosts.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/serviceTemplates.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/services.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/commands.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/contactgroups.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/contacts.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/hostgroups.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/servicegroups.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/timeperiods.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/escalations.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/dependencies.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/connectors.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/meta_commands.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/meta_timeperiod.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/meta_host.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Processing object config file '/etc/centreon-engine/meta_services.cfg'
May 25 12:29:13 centreon-central centengine: [1653478153] [5890] Reading resource file '/etc/centreon-engine/resource.cfg'
May 25 12:29:13 centreon-central cbwd: [2022-05-25 12:29:13.877] [core] [info] Centreon Broker 21.10.0
May 25 12:29:13 centreon-central cbwd: [2022-05-25 12:29:13.877] [core] [info] Copyright 2009-2021 Centreon
May 25 12:29:13 centreon-central cbwd: [2022-05-25 12:29:13.877] [core] [info] License ASL 2.0 <http://www.apache.org/licenses/LICENSE-2.0>
May 25 12:29:13 centreon-central cbwd: [2022-05-25 12:29:13.887] [core] [info] Centreon Broker 21.10.0
May 25 12:29:13 centreon-central cbwd: [2022-05-25 12:29:13.887] [core] [info] Copyright 2009-2021 Centreon
May 25 12:29:13 centreon-central cbwd: [2022-05-25 12:29:13.887] [core] [info] License ASL 2.0 <http://www.apache.org/licenses/LICENSE-2.0>
May 25 12:29:13 centreon-central centengine: [2022-05-25 12:29:13.917] [core] [info] Starting the TCP thread pool of 3 threads
May 25 12:29:13 centreon-central centengine: [2022-05-25 12:29:13.917] [core] [info] protocols: registering protocol ('file' (layers 1-3)
May 25 12:29:13 centreon-central centengine: [2022-05-25 12:29:13.917] [core] [info] protocols: registering protocol ('compression' (layers 6-6)
May 25 12:29:13 centreon-central centengine: [2022-05-25 12:29:13.917] [core] [info] protocols: registering protocol ('BBDO' (layers 7-7)
May 25 12:29:28 centreon-central systemd: Created slice User Slice of root.
May 25 12:29:28 centreon-central systemd: Started Session c4 of user root.
May 25 12:29:29 centreon-central systemd: Reloading Centreon Broker watchdog.
May 25 12:29:29 centreon-central systemd: Reloaded Centreon Broker watchdog.
May 25 12:29:29 centreon-central systemd: Removed slice User Slice of root.
May 25 12:30:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:30:01 centreon-central systemd: Started Session 331 of user apache.
May 25 12:30:01 centreon-central systemd: Started Session 330 of user centreon.
May 25 12:30:01 centreon-central systemd: Started Session 329 of user apache.
May 25 12:30:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:31:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:31:01 centreon-central systemd: Started Session 332 of user apache.
May 25 12:31:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:32:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:32:01 centreon-central systemd: Started Session 333 of user apache.
May 25 12:32:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:33:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:33:01 centreon-central systemd: Started Session 334 of user apache.
May 25 12:33:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:34:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:34:01 centreon-central systemd: Started Session 335 of user apache.
May 25 12:34:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:35:01 centreon-central systemd: Started Session 337 of user centreon.
May 25 12:35:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:35:01 centreon-central systemd: Started Session 338 of user apache.
May 25 12:35:01 centreon-central systemd: Started Session 336 of user apache.
May 25 12:35:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:36:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:36:01 centreon-central systemd: Started Session 339 of user apache.
May 25 12:36:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:37:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:37:01 centreon-central systemd: Started Session 340 of user apache.
May 25 12:37:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:38:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:38:01 centreon-central systemd: Started Session 341 of user apache.
May 25 12:38:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:39:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:39:01 centreon-central systemd: Started Session 342 of user apache.
May 25 12:39:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:40:01 centreon-central systemd: Started Session 344 of user centreon.
May 25 12:40:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:40:01 centreon-central systemd: Started Session 345 of user apache.
May 25 12:40:01 centreon-central systemd: Started Session 343 of user apache.
May 25 12:40:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:41:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:41:01 centreon-central systemd: Started Session 346 of user apache.
May 25 12:41:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:42:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:42:01 centreon-central systemd: Started Session 347 of user apache.
May 25 12:42:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:43:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:43:01 centreon-central systemd: Started Session 348 of user apache.
May 25 12:43:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:43:58 centreon-central systemd: Started Session 349 of user centreon.
May 25 12:43:58 centreon-central systemd-logind: New session 349 of user centreon.
May 25 12:44:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:44:01 centreon-central systemd: Started Session 350 of user apache.
May 25 12:44:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:44:22 centreon-central systemd: Started Session 351 of user centreon.
May 25 12:44:22 centreon-central systemd-logind: New session 351 of user centreon.
May 25 12:45:01 centreon-central systemd: Started Session 354 of user centreon.
May 25 12:45:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:45:01 centreon-central systemd: Started Session 353 of user apache.
May 25 12:45:01 centreon-central systemd: Started Session 352 of user apache.
May 25 12:45:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:46:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:46:01 centreon-central systemd: Started Session 355 of user apache.
May 25 12:46:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:46:03 centreon-central systemd-logind: Removed session 351.
May 25 12:47:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:47:01 centreon-central systemd: Started Session 356 of user apache.
May 25 12:47:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:48:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:48:01 centreon-central systemd: Started Session 357 of user apache.
May 25 12:48:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:48:42 centreon-central systemd: Started Session 358 of user centreon.
May 25 12:48:42 centreon-central systemd-logind: New session 358 of user centreon.
May 25 12:49:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:49:01 centreon-central systemd: Started Session 359 of user apache.
May 25 12:49:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:50:01 centreon-central systemd: Started Session 361 of user centreon.
May 25 12:50:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:50:01 centreon-central systemd: Started Session 362 of user apache.
May 25 12:50:01 centreon-central systemd: Started Session 360 of user apache.
May 25 12:50:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:50:16 centreon-central systemd-logind: Removed session 358.
May 25 12:51:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:51:01 centreon-central systemd: Started Session 363 of user apache.
May 25 12:51:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:52:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:52:01 centreon-central systemd: Started Session 364 of user apache.
May 25 12:52:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:52:29 centreon-central systemd: Started Session 365 of user centreon.
May 25 12:52:29 centreon-central systemd-logind: New session 365 of user centreon.
May 25 12:53:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:53:01 centreon-central systemd: Started Session 366 of user apache.
May 25 12:53:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:53:29 centreon-central systemd-logind: Removed session 365.
May 25 12:54:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:54:01 centreon-central systemd: Started Session 367 of user apache.
May 25 12:54:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:55:01 centreon-central systemd: Started Session 369 of user centreon.
May 25 12:55:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:55:01 centreon-central systemd: Started Session 370 of user apache.
May 25 12:55:01 centreon-central systemd: Started Session 368 of user apache.
May 25 12:55:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:56:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:56:01 centreon-central systemd: Started Session 371 of user apache.
May 25 12:56:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:57:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:57:01 centreon-central systemd: Started Session 372 of user apache.
May 25 12:57:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:58:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:58:01 centreon-central systemd: Started Session 373 of user apache.
May 25 12:58:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:59:01 centreon-central systemd: Created slice User Slice of apache.
May 25 12:59:01 centreon-central systemd: Started Session 374 of user apache.
May 25 12:59:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 12:59:23 centreon-central systemd: Started Session 375 of user centreon.
May 25 12:59:23 centreon-central systemd-logind: New session 375 of user centreon.
May 25 12:59:28 centreon-central systemd-logind: Removed session 349.
May 25 12:59:36 centreon-central systemd: Started Session 376 of user centreon.
May 25 12:59:36 centreon-central systemd-logind: New session 376 of user centreon.
May 25 13:00:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:00:01 centreon-central systemd: Started Session 379 of user apache.
May 25 13:00:01 centreon-central systemd: Started Session 378 of user apache.
May 25 13:00:01 centreon-central systemd: Started Session 377 of user centreon.
May 25 13:00:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:00:27 centreon-central chronyd[735]: Source 95.81.173.155 replaced with 212.85.158.10
May 25 13:00:37 centreon-central systemd-logind: Removed session 376.
May 25 13:01:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:01:01 centreon-central systemd: Started Session 381 of user apache.
May 25 13:01:01 centreon-central systemd: Created slice User Slice of root.
May 25 13:01:01 centreon-central systemd: Started Session 380 of user root.
May 25 13:01:01 centreon-central systemd: Removed slice User Slice of root.
May 25 13:01:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:02:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:02:01 centreon-central systemd: Started Session 382 of user apache.
May 25 13:02:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:03:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:03:01 centreon-central systemd: Started Session 383 of user apache.
May 25 13:03:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:04:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:04:01 centreon-central systemd: Started Session 384 of user apache.
May 25 13:04:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:05:01 centreon-central systemd: Started Session 386 of user centreon.
May 25 13:05:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:05:01 centreon-central systemd: Started Session 387 of user apache.
May 25 13:05:01 centreon-central systemd: Started Session 385 of user apache.
May 25 13:05:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:06:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:06:01 centreon-central systemd: Started Session 388 of user apache.
May 25 13:06:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:06:55 centreon-central systemd: Created slice User Slice of root.
May 25 13:06:55 centreon-central systemd: Started Session c5 of user root.
May 25 13:06:55 centreon-central systemd: Reloading Centreon Broker watchdog.
May 25 13:06:55 centreon-central systemd: Reloaded Centreon Broker watchdog.
May 25 13:06:55 centreon-central systemd: Removed slice User Slice of root.
May 25 13:07:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:07:01 centreon-central systemd: Started Session 389 of user apache.
May 25 13:07:02 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:08:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:08:01 centreon-central systemd: Started Session 390 of user apache.
May 25 13:08:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:09:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:09:01 centreon-central systemd: Started Session 391 of user apache.
May 25 13:09:01 centreon-central systemd: Removed slice User Slice of apache.
May 25 13:10:01 centreon-central systemd: Created slice User Slice of apache.
May 25 13:10:01 centreon-central systemd: Started Session 394 of user apache.
May 25 13:10:01 centreon-central systemd: Started Session 393 of user centreon.
May 25 13:10:01 centreon-central systemd: Started Session 392 of user apache.
May 25 13:10:01 centreon-central systemd: Removed slice User Slice of apache.

 

and central-broker-mastrer.log

[2022-05-25T12:57:18.235+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T12:58:18.239+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T12:58:18.239+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T12:59:18.244+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T12:59:18.244+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:00:18.248+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:00:18.249+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:01:18.263+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:01:18.263+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:02:18.278+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:02:18.278+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:03:18.283+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:03:18.283+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:04:18.288+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:04:18.288+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:05:18.300+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:05:18.300+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:06:18.304+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:06:18.305+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:06:57.515+01:00] [core] [info] main: configuration update requested
[2022-05-25T13:06:57.516+01:00] [core] [info] /var/log/centreon-broker//central-broker-master.log : log started
[2022-05-25T13:06:57.516+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2022-05-25T13:06:57.516+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/80-sql.so' which is already loaded
[2022-05-25T13:06:57.516+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/20-storage.so' which is already loaded
[2022-05-25T13:06:57.516+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2022-05-25T13:06:57.516+01:00] [core] [info] multiplexing: engine started
[2022-05-25T13:07:18.309+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:07:18.309+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.
[2022-05-25T13:08:18.314+01:00] [tcp] [error] TCP: Connection refused to localhost:5670
[2022-05-25T13:08:18.314+01:00] [core] [error] failover: global error: failover: 'centreon-broker-master-rrd' cannot connect endpoint.


Thank

Badge +3

Salut

 

Alors truc tout bête mais quand tu exporte la config du poller, il faut que tu t’assures que les cases soit cochées :

 

 

Et quels sont les status des 4 services que t’as listé Kriko ? 

 

EDIT: En tt cas tu est dans de bonnes mains avec Kriko :)

Peut être qeu cela peut aider :
 

 

Userlevel 4
Badge +16

Could you give me the output of the log /var/log/centreon-broker/central-rrd-master.log ?

Badge +2

Oui les cases sont bien cochées

 

et a priori sans erreur 

 

 

Concernant les services

CBD

 

CENTENGINE

 

 

GORGONED

 

 

 /var/log/centreon-broker/central-rrd-master.log

[2022-05-25T08:31:11.317+01:00] [core] [info] main: configuration update requested
[2022-05-25T08:31:11.317+01:00] [core] [info] /var/log/centreon-broker//central-rrd-master.log : log started
[2022-05-25T08:31:11.317+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2022-05-25T08:31:11.317+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
[2022-05-25T08:31:11.317+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2022-05-25T08:31:11.318+01:00] [core] [info] multiplexing: engine started
[2022-05-25T08:38:44.275+01:00] [core] [info] main: termination request received by process
[2022-05-25T08:38:46.336+01:00] [core] [info] processing acceptor 'central-rrd-master-input' finished
[2022-05-25T08:38:46.336+01:00] [core] [info] multiplexing: stopping engine
[2022-05-25T08:38:46.336+01:00] [core] [info] multiplexing: sending events to muxers for the last time
[2022-05-25T08:38:46.384+01:00] [core] [info] Destroying muxer central-rrd-master-output: number of events in the queue: 0
[2022-05-25T08:38:46.385+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
[2022-05-25T08:38:46.385+01:00] [core] [info] protocols: unregistering protocol 'RRD'
[2022-05-25T08:38:46.385+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2022-05-25T08:38:46.385+01:00] [core] [info] protocols: unregistering protocol 'TLS'
[2022-05-25T08:38:46.385+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2022-05-25T08:38:46.385+01:00] [core] [info] protocols: unregistering protocol 'TCP'
[2022-05-25T08:38:46.385+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/20-storage.so'
[2022-05-25T08:38:46.385+01:00] [core] [info] protocols: unregistering protocol 'storage'
[2022-05-25T08:38:46.385+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2022-05-25T08:38:46.407+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2022-05-25T08:38:46.407+01:00] [core] [info] protocols: unregistering protocol 'BBDO'
[2022-05-25T08:38:46.407+01:00] [core] [info] protocols: unregistering protocol 'compression'
[2022-05-25T08:38:46.407+01:00] [core] [info] protocols: unregistering protocol 'file'
[2022-05-25T08:38:46.407+01:00] [core] [info] protocols: destruction (0 protocols still registered)
[2022-05-25T08:38:46.407+01:00] [core] [info] pool: the latency check encountered an error: Operation aborted.
[2022-05-25T08:38:46.407+01:00] [core] [info] log finished
[2022-05-25T08:39:02.480+01:00] [core] [info] /var/log/centreon-broker//central-rrd-master.log : log started
[2022-05-25T08:39:02.490+01:00] [core] [info] Starting the TCP thread pool of 3 threads
[2022-05-25T08:39:02.491+01:00] [core] [info] protocols: registering protocol ('file' (layers 1-3)
[2022-05-25T08:39:02.491+01:00] [core] [info] protocols: registering protocol ('compression' (layers 6-6)
[2022-05-25T08:39:02.491+01:00] [core] [info] protocols: registering protocol ('BBDO' (layers 7-7)
[2022-05-25T08:39:02.491+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2022-05-25T08:39:02.506+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2022-05-25T08:39:02.511+01:00] [core] [info] NEB: module for Centreon Broker 21.10.0
[2022-05-25T08:39:02.511+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2022-05-25T08:39:02.549+01:00] [core] [info] protocols: registering protocol ('TLS' (layers 5-5)
[2022-05-25T08:39:02.549+01:00] [core] [info] protocols: registering protocol ('TCP' (layers 1-4)
[2022-05-25T08:39:02.549+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
[2022-05-25T08:39:02.643+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2022-05-25T08:39:02.643+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/20-storage.so'
[2022-05-25T08:39:02.644+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2022-05-25T08:39:02.644+01:00] [core] [info] protocols: registering protocol ('storage' (layers 1-7)
[2022-05-25T08:39:02.644+01:00] [core] [info] protocols: registering protocol ('RRD' (layers 1-7)
[2022-05-25T08:39:02.644+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2022-05-25T08:39:02.657+01:00] [core] [info] Destroying muxer central-rrd-master-input: number of events in the queue: 0
[2022-05-25T08:39:02.670+01:00] [core] [info] multiplexing: engine started
[2022-05-25T08:39:57.437+01:00] [core] [info] main: configuration update requested
[2022-05-25T08:39:57.437+01:00] [core] [info] /var/log/centreon-broker//central-rrd-master.log : log started
[2022-05-25T08:39:57.437+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2022-05-25T08:39:57.437+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
[2022-05-25T08:39:57.437+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2022-05-25T08:39:57.438+01:00] [core] [info] multiplexing: engine started
[2022-05-25T12:29:08.479+01:00] [core] [info] main: termination request received by process
[2022-05-25T12:29:10.243+01:00] [core] [info] processing acceptor 'central-rrd-master-input' finished
[2022-05-25T12:29:10.244+01:00] [core] [info] multiplexing: stopping engine
[2022-05-25T12:29:10.244+01:00] [core] [info] multiplexing: sending events to muxers for the last time
[2022-05-25T12:29:10.255+01:00] [core] [info] Destroying muxer central-rrd-master-output: number of events in the queue: 0
[2022-05-25T12:29:10.255+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
[2022-05-25T12:29:10.255+01:00] [core] [info] protocols: unregistering protocol 'RRD'
[2022-05-25T12:29:10.255+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2022-05-25T12:29:10.255+01:00] [core] [info] protocols: unregistering protocol 'TLS'
[2022-05-25T12:29:10.255+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2022-05-25T12:29:10.255+01:00] [core] [info] protocols: unregistering protocol 'TCP'
[2022-05-25T12:29:10.255+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/20-storage.so'
[2022-05-25T12:29:10.255+01:00] [core] [info] protocols: unregistering protocol 'storage'
[2022-05-25T12:29:10.255+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2022-05-25T12:29:10.343+01:00] [core] [info] modules: closing '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2022-05-25T12:29:10.343+01:00] [core] [info] protocols: unregistering protocol 'BBDO'
[2022-05-25T12:29:10.343+01:00] [core] [info] protocols: unregistering protocol 'compression'
[2022-05-25T12:29:10.343+01:00] [core] [info] protocols: unregistering protocol 'file'
[2022-05-25T12:29:10.343+01:00] [core] [info] protocols: destruction (0 protocols still registered)
[2022-05-25T12:29:10.343+01:00] [core] [info] pool: the latency check encountered an error: Operation aborted.
[2022-05-25T12:29:10.343+01:00] [core] [info] log finished
[2022-05-25T12:29:13.888+01:00] [core] [info] /var/log/centreon-broker//central-rrd-master.log : log started
[2022-05-25T12:29:13.888+01:00] [core] [info] Starting the TCP thread pool of 3 threads
[2022-05-25T12:29:13.888+01:00] [core] [info] protocols: registering protocol ('file' (layers 1-3)
[2022-05-25T12:29:13.888+01:00] [core] [info] protocols: registering protocol ('compression' (layers 6-6)
[2022-05-25T12:29:13.888+01:00] [core] [info] protocols: registering protocol ('BBDO' (layers 7-7)
[2022-05-25T12:29:13.888+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
[2022-05-25T12:29:13.889+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
[2022-05-25T12:29:13.889+01:00] [core] [info] NEB: module for Centreon Broker 21.10.0
[2022-05-25T12:29:13.889+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
[2022-05-25T12:29:13.892+01:00] [core] [info] protocols: registering protocol ('TLS' (layers 5-5)
[2022-05-25T12:29:13.892+01:00] [core] [info] protocols: registering protocol ('TCP' (layers 1-4)
[2022-05-25T12:29:13.892+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-rrd.so'
[2022-05-25T12:29:13.907+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2022-05-25T12:29:13.907+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/20-storage.so'
[2022-05-25T12:29:13.908+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
[2022-05-25T12:29:13.908+01:00] [core] [info] protocols: registering protocol ('storage' (layers 1-7)
[2022-05-25T12:29:13.908+01:00] [core] [info] protocols: registering protocol ('RRD' (layers 1-7)
[2022-05-25T12:29:13.908+01:00] [core] [info] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
[2022-05-25T12:29:13.933+01:00] [core] [info] Destroying muxer central-rrd-master-input: number of events in the queue: 0
[2022-05-25T12:29:13.948+01:00] [core] [info] multiplexing: engine started
[2022-05-25T12:29:33.030+01:00] [core] [info] main: configuration update requested
[2022-05-25T12:29:33.030+01:00] [core] [info] /var/log/centreon-broker//central-rrd-master.log : log started
[2022-05-25T12:29:33.030+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2022-05-25T12:29:33.030+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
[2022-05-25T12:29:33.030+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2022-05-25T12:29:33.030+01:00] [core] [info] multiplexing: engine started
[2022-05-25T13:06:57.516+01:00] [core] [info] main: configuration update requested
[2022-05-25T13:06:57.517+01:00] [core] [info] /var/log/centreon-broker//central-rrd-master.log : log started
[2022-05-25T13:06:57.517+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2022-05-25T13:06:57.517+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
[2022-05-25T13:06:57.517+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2022-05-25T13:06:57.517+01:00] [core] [info] multiplexing: engine started
[2022-05-25T13:22:47.330+01:00] [core] [info] main: configuration update requested
[2022-05-25T13:22:47.330+01:00] [core] [info] /var/log/centreon-broker//central-rrd-master.log : log started
[2022-05-25T13:22:47.330+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/50-tcp.so' which is already loaded
[2022-05-25T13:22:47.330+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/70-rrd.so' which is already loaded
[2022-05-25T13:22:47.330+01:00] [core] [info] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/15-stats.so' which is already loaded
[2022-05-25T13:22:47.330+01:00] [core] [info] multiplexing: engine started

Userlevel 4
Badge +16

What is the output of the following commands:

ss -plantu | egrep '(5669|5670)'
grep -ri segfault /var/log/messages
ps axuf | grep -i cbd

 

Badge +2

 

Userlevel 4
Badge +16

What is the result of 

systemctl status firewalld
getenforce
iptables -L

 

Badge +2

 

Userlevel 4
Badge +16

What is the hell.

Let’s me think twice.

Userlevel 4
Badge +16

Is it possible to give me the broker configuration ?

The files are /etc/centreon-broker/central-broker.json and /etc/centreon-broker/central-rrd.json

Badge +2

Ca me rassure   😁😁😁

... meme si ca m'arrange pas  !

 

Badge +2

/etc/centreon-broker/central-broker.json

{
    "centreonBroker": {
        "broker_id": 1,
        "broker_name": "central-broker-master",
        "poller_id": 1,
        "poller_name": "Central",
        "module_directory": "/usr/share/centreon/lib/centreon-broker",
        "log_timestamp": true,
        "log_thread_id": false,
        "event_queue_max_size": 100000,
        "command_file": "/var/lib/centreon-broker/command.sock",
        "cache_directory": "/var/lib/centreon-broker",
        "log": {
            "directory": "/var/log/centreon-broker/",
            "filename": "",
            "max_size": 0,
            "loggers": {
                "core": "info",
                "config": "error",
                "sql": "error",
                "processing": "error",
                "perfdata": "error",
                "bbdo": "error",
                "tcp": "error",
                "tls": "error",
                "lua": "error",
                "bam": "error"
            }
        },
        "input": [
            {
                "name": "central-broker-master-input",
                "port": "5669",
                "protocol": "bbdo",
                "tls": "auto",
                "negotiation": "yes",
                "buffering_timeout": "0",
                "retry_interval": "60",
                "one_peer_retention_mode": "no",
                "compression": "auto",
                "type": "ipv4"
            }
        ],
        "output": [
            {
                "name": "central-broker-master-sql",
                "db_type": "mysql",
                "db_host": "localhost",
                "db_port": "3306",
                "db_user": "centreon",
                "db_password": "centreon",
                "db_name": "centreon_storage",
                "connections_count": "1",
                "buffering_timeout": "0",
                "retry_interval": "60",
                "check_replication": "no",
                "type": "sql"
            },
            {
                "name": "centreon-broker-master-rrd",
                "port": "5670",
                "host": "localhost",
                "protocol": "bbdo",
                "tls": "no",
                "negotiation": "yes",
                "buffering_timeout": "0",
                "retry_interval": "60",
                "one_peer_retention_mode": "no",
                "compression": "no",
                "type": "ipv4"
            },
            {
                "name": "central-broker-master-perfdata",
                "interval": "60",
                "length": "15552000",
                "db_type": "mysql",
                "db_host": "localhost",
                "db_port": "3306",
                "db_user": "centreon",
                "db_password": "centreon",
                "connections_count": "1",
                "db_name": "centreon_storage",
                "buffering_timeout": "0",
                "retry_interval": "60",
                "check_replication": "no",
                "store_in_data_bin": "yes",
                "insert_in_index_data": "1",
                "type": "storage"
            }
        ],
        "stats": [
            {
                "type": "stats",
                "name": "central-broker-master-stats",
                "json_fifo": "/var/lib/centreon-broker/central-broker-master-stats.json"
            }
        ],
        "grpc": {
            "port": 51001
        }

 

/etc/centreon-broker/central-rdd.json

{
    "centreonBroker": {
        "broker_id": 2,
        "broker_name": "central-rrd-master",
        "poller_id": 1,
        "poller_name": "Central",
        "module_directory": "/usr/share/centreon/lib/centreon-broker",
        "log_timestamp": true,
        "log_thread_id": false,
        "event_queue_max_size": 100000,
        "command_file": "",
        "cache_directory": "/var/lib/centreon-broker",
        "log": {
            "directory": "/var/log/centreon-broker/",
            "filename": "",
            "max_size": 0,
            "loggers": {
                "core": "info",
                "config": "error",
                "sql": "error",
                "processing": "error",
                "perfdata": "error",
                "bbdo": "error",
                "tcp": "error",
                "tls": "error",
                "lua": "error",
                "bam": "error"
            }
        },
        "input": [
            {
                "name": "central-rrd-master-input",
                "port": "5670",
                "protocol": "bbdo",
                "tls": "auto",
                "negotiation": "yes",
                "buffering_timeout": "0",
                "retry_interval": "60",
                "one_peer_retention_mode": "no",
                "compression": "auto",
                "type": "ipv4"
            }
        ],
        "output": [
            {
                "name": "central-rrd-master-output",
                "metrics_path": "/var/lib/centreon/metrics/",
                "status_path": "/var/lib/centreon/status/",
                "write_metrics": "yes",
                "store_in_data_bin": "yes",
                "write_status": "yes",
                "insert_in_index_data": "1",
                "retry_interval": "60",
                "buffering_timeout": "0",
                "type": "rrd"
            }
        ],
        "stats": [
            {
                "type": "stats",
                "name": "central-rrd-master-stats",
                "json_fifo": "/var/lib/centreon-broker/central-rrd-master-stats.json"
            }
        ],
        "grpc": {
            "port": 51002
        }
    }

 

Userlevel 4
Badge +16

Problem solved:

there was not entry for localhost on 127.0.0.1

So localhost only resolv on ipv6 (::1).

And broker is configured to use ipv4 output.

We create a entry /etc/hosts for localhost on 127.0.0.1

Badge +2

I have edited the /etc/hosts file but I still have the same problem.

Which is the exact line did you add on hosts file? 

 

I put

127 0 0 1 local…host.

(that line with dots and second word all together)

and I have the same issue… No tcp connection to port 5670

 

 

Badge +2

Someone has any idea? 

@Kriko @stephanepainot @art3mis 

 

Reply