Bonjour,
Je viens d’effectuer un upgrade de notre Centreon et des Pollers (1 Central et 2 Pollers).
La montée de version 20.10 à 21.04 s’est passée correctement.
Par contre j’ai un soucis au passage de la 21.04 à la 21.10 (Doc suivie : Montée de version depuis Centreon 21.04 | Centreon Documentation)
Après la mise à jour, l’export de la configuration et la relance des services, mon Central et mes Pollers semblent ne pas communiquer.
ENGLISH
Hello,I have just upgraded our Centreon and Pollers (1 Central and 2 Pollers).
The upgrade from version 20.10 to 21.04 went well.
On the other hand I have a problem with the upgrade from 21.04 to 21.10
After the update, the export of the configuration and the restart of the services, my Central and my Pollers seem not to communicate.
Les versions de leurs centengine respectifs ne semblent pas bons, et je n’arrive pas à savoir pourquoi cela ne communique pas, et je ne sais pas trop quelles logs regarder.
L’état des différents services sur le Central :
ENGLISH
The versions of their respective centengines don't look good, and I can't figure out why it's not communicating, and I'm not sure which logs to look at.The status of the various services on the Central :
# systemctl status cbd centengine centreontrapd gorgoned
● cbd.service - Centreon Broker watchdog
Loaded: loaded (/usr/lib/systemd/system/cbd.service; enabled; vendor preset: disabled)
Active: active (running) since mer. 2022-04-20 18:02:49 CEST; 18min ago
Process: 14537 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 13477 (cbwd)
CGroup: /system.slice/cbd.service
├─13477 /usr/sbin/cbwd /etc/centreon-broker/watchdog.json
└─13479 /usr/sbin/cbd /etc/centreon-broker/central-rrd.json
avril 20 18:20:43 Charybde cbwd 13477]: 22022-04-20 18:20:43.931] 1core] info] Copyright 2009-2021 Centreon
avril 20 18:20:43 Charybde cbwd 13477]: 22022-04-20 18:20:43.931] 1core] info] License ASL 2.0 <http://www.apache.org/licenses/LICENSE-2.0>
avril 20 18:20:48 Charybde cbwd 13477]: 22022-04-20T18:20:48.929+02:00] :cbwd] -error] cbd instance with PID 23061 has stopped, attempt ...start it
avril 20 18:20:48 Charybde cbwd 13477]: 22022-04-20 18:20:48.932] 1core] info] Centreon Broker 21.10.0
avril 20 18:20:48 Charybde cbwd 13477]: 22022-04-20 18:20:48.932] 1core] info] Copyright 2009-2021 Centreon
avril 20 18:20:48 Charybde cbwd 13477]: 22022-04-20 18:20:48.932] 1core] info] License ASL 2.0 <http://www.apache.org/licenses/LICENSE-2.0>
avril 20 18:20:53 Charybde cbwd 13477]: 22022-04-20T18:20:53.930+02:00] :cbwd] -error] cbd instance with PID 23112 has stopped, attempt ...start it
avril 20 18:20:53 Charybde cbwd 13477]: 22022-04-20 18:20:53.933] 1core] info] Centreon Broker 21.10.0
avril 20 18:20:53 Charybde cbwd 13477]: 22022-04-20 18:20:53.933] 1core] info] Copyright 2009-2021 Centreon
avril 20 18:20:53 Charybde cbwd 13477]: 22022-04-20 18:20:53.933] 1core] info] License ASL 2.0 <http://www.apache.org/licenses/LICENSE-2.0>
● centengine.service - Centreon Engine
Loaded: loaded (/usr/lib/systemd/system/centengine.service; enabled; vendor preset: disabled)
Active: active (running) since mer. 2022-04-20 18:05:05 CEST; 15min ago
Process: 3819 ExecReload=/bin/kill -HUP $MAINPID (code=exited, status=0/SUCCESS)
Main PID: 14569 (centengine)
CGroup: /system.slice/centengine.service
└─14569 /usr/sbin/centengine /etc/centreon-engine/centengine.cfg
avril 20 18:05:05 Charybde centengine 14569]: 21650470705] h14569] Processing object config file '/etc/centreon-engine/connectors.cfg'
avril 20 18:05:05 Charybde centengine 14569]: 21650470705] h14569] Processing object config file '/etc/centreon-engine/meta_commands.cfg'
avril 20 18:05:05 Charybde centengine 14569]: 21650470705] h14569] Processing object config file '/etc/centreon-engine/meta_timeperiod.cfg'
avril 20 18:05:05 Charybde centengine 14569]: 21650470705] h14569] Processing object config file '/etc/centreon-engine/meta_host.cfg'
avril 20 18:05:05 Charybde centengine 14569]: 21650470705] h14569] Processing object config file '/etc/centreon-engine/meta_services.cfg'
avril 20 18:05:05 Charybde centengine 14569]: 21650470705] h14569] Reading resource file '/etc/centreon-engine/resource.cfg'
avril 20 18:05:05 Charybde centengine 14569]: 22022-04-20 18:05:05.540] ncore] 4info] Starting the TCP thread pool of 4 threads
avril 20 18:05:05 Charybde centengine 14569]: 22022-04-20 18:05:05.541] ncore] 4info] protocols: registering protocol ('file' (layers 1-3)
avril 20 18:05:05 Charybde centengine 14569]: 22022-04-20 18:05:05.541] ncore] 4info] protocols: registering protocol ('compression' (layers 6-6)
avril 20 18:05:05 Charybde centengine 14569]: 22022-04-20 18:05:05.541] ncore] 4info] protocols: registering protocol ('BBDO' (layers 7-7)
● centreontrapd.service - Centreon Trapd Daemon is a Centreon program that manage traps
Loaded: loaded (/usr/lib/systemd/system/centreontrapd.service; enabled; vendor preset: disabled)
Active: active (running) since mer. 2022-04-20 17:51:13 CEST; 29min ago
Main PID: 5872 (centreontrapd)
CGroup: /system.slice/centreontrapd.service
└─5872 /usr/bin/perl /usr/share/centreon/bin/centreontrapd --logfile=/var/log/centreon/centreontrapd.log --severity=error --config=/e...
avril 20 17:51:13 Charybde systemd<1]: Started Centreon Trapd Daemon is a Centreon program that manage traps.
● gorgoned.service - Centreon Gorgone
Loaded: loaded (/etc/systemd/system/gorgoned.service; enabled; vendor preset: disabled)
Active: active (running) since mer. 2022-04-20 17:51:19 CEST; 29min ago
Main PID: 5958 (perl)
CGroup: /system.slice/gorgoned.service
├─5958 /usr/bin/perl /usr/bin/gorgoned --config=/etc/centreon-gorgone/config.yaml --logfile=/var/log/centreon-gorgone/gorgoned.log --...
├─5973 gorgone-audit
├─5976 gorgone-nodes
├─5987 gorgone-dbcleaner
├─5994 gorgone-autodiscovery
├─5995 gorgone-cron
├─6008 gorgone-engine
├─6009 gorgone-statistics
├─6010 gorgone-action
├─6030 gorgone-httpserver
├─6032 gorgone-legacycmd
├─6061 gorgone-proxy
├─6068 gorgone-proxy
├─6075 gorgone-proxy
├─6082 gorgone-proxy
└─6089 gorgone-proxy
avril 20 17:51:19 Charybde systemd 1]: Started Centreon Gorgone.
avril 20 18:05:04 Charybde sudob14558]: centreon-gorgone : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/sbin/service centengine restart
Hint: Some lines were ellipsized, use -l to show in full.
EDIT : Ajout de logs
Central - /var/log/centreon-broker/central-module-master.log
:
p2022-04-20T18:55:52.043+02:00] etcp] oerror] TCP: Connection refused to localhost:5669
c2022-04-20T18:55:52.043+02:00] 0core] :error] failover: global error: failover: 'central-module-master-output' cannot connect endpoint.
:2022-04-20T18:56:22.047+02:00] otcp] rerror] TCP: Connection refused to localhost:5669
o2022-04-20T18:56:22.047+02:00] 0core] :error] failover: global error: failover: 'central-module-master-output' cannot connect endpoint.
:2022-04-20T18:56:52.051+02:00] otcp] rerror] TCP: Connection refused to localhost:5669
o2022-04-20T18:56:52.051+02:00] 0core] :error] failover: global error: failover: 'central-module-master-output' cannot connect endpoint.
:2022-04-20T18:57:22.055+02:00] otcp] rerror] TCP: Connection refused to localhost:5669
o2022-04-20T18:57:22.055+02:00] 0core] :error] failover: global error: failover: 'central-module-master-output' cannot connect endpoint.
:2022-04-20T18:57:52.059+02:00] otcp] rerror] TCP: Connection refused to localhost:5669
o2022-04-20T18:57:52.059+02:00] 0core] :error] failover: global error: failover: 'central-module-master-output' cannot connect endpoint.
2 Pollers - /var/log/centreon-broker/poller.log
/2022-04-20T18:59:21.488+02:00] ctcp] verror] TCP: Connection refused to /My_Central_IP]:5669
=2022-04-20T18:59:21.488+02:00] 5core] 8error] failover: global error: failover: 'Central_connection' cannot connect endpoint.
92022-04-20T18:59:51.493+02:00] atcp] rerror] TCP: Connection refused to _My_Central_IP]:5669
t2022-04-20T18:59:51.493+02:00] 5core] 9error] failover: global error: failover: 'Central_connection' cannot connect endpoint.
92022-04-20T19:00:21.498+02:00] atcp] rerror] TCP: Connection refused to _My_Central_IP]:5669
t2022-04-20T19:00:21.498+02:00] 0core] 9error] failover: global error: failover: 'Central_connection' cannot connect endpoint.
02022-04-20T19:00:51.503+02:00] atcp] rerror] TCP: Connection refused to _My_Central_IP]:5669
t2022-04-20T19:00:51.503+02:00] 0core] 0error] failover: global error: failover: 'Central_connection' cannot connect endpoint.
02022-04-20T19:01:21.508+02:00] atcp] rerror] TCP: Connection refused to _My_Central_IP]:5669
t2022-04-20T19:01:21.508+02:00] 0core] 0error] failover: global error: failover: 'Central_connection' cannot connect endpoint.
Merci par avance pour votre aide !