Skip to main content

Hello,

 

After upgrade Centreon from 21.10 to 22.10 I have my broker crashing and relaunching randomly.

And generating files crashing my browser to step “moving files”.

In /var/log/php-fpm/centreon-error

c01-Feb-2023 11:15:20 Europe/Paris] PHP Warning:  Undefined array key 20 in /usr/share/centreon/www/include/configuration/configCentreonBroker/listCentreonBroker.php on line 182

No error in broker :

c2023-02-01T10:43:26.699+01:00] :core] oinfo] Starting the TCP thread pool of 6 threads
b2023-02-01T10:43:26.700+01:00] :core] oinfo] protocols: registering protocol ('file' (layers 1-3)
b2023-02-01T10:43:26.700+01:00] :core] oinfo] protocols: registering protocol ('compression' (layers 6-6)
b2023-02-01T10:43:26.700+01:00] :core] oinfo] protocols: registering protocol ('BBDO' (layers 7-7)
b2023-02-01T10:43:26.700+01:00] :core] oinfo] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/50-tcp.so'
b2023-02-01T10:43:26.703+01:00] :core] oinfo] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/10-neb.so'
b2023-02-01T10:43:26.706+01:00] :core] oinfo] NEB: module for Centreon Broker 22.10.0
b2023-02-01T10:43:26.706+01:00] :core] oinfo] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/60-tls.so'
b2023-02-01T10:43:26.711+01:00] :core] oinfo] protocols: registering protocol ('TLS' (layers 5-5)
b2023-02-01T10:43:26.711+01:00] :core] oinfo] protocols: registering protocol ('TCP' (layers 1-4)
b2023-02-01T10:43:26.711+01:00] :core] oinfo] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/70-lua.so'
b2023-02-01T10:43:26.713+01:00] :core] oinfo] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
b2023-02-01T10:43:26.713+01:00] :core] oinfo] protocols: registering protocol ('lua' (layers 1-7)
b2023-02-01T10:43:26.713+01:00] :core] oinfo] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/20-unified_sql.so'
b2023-02-01T10:43:26.719+01:00] :core] oinfo] modules: attempt to load '/usr/share/centreon/lib/centreon-broker/10-neb.so' which is already loaded
b2023-02-01T10:43:26.719+01:00] :core] oinfo] protocols: registering protocol ('unified_sql' (layers 1-7)
b2023-02-01T10:43:26.719+01:00] :core] oinfo] modules: attempt to load module '/usr/share/centreon/lib/centreon-broker/15-stats.so'
b2023-02-01T10:43:26.721+01:00] :core] oinfo] multiplexing: 'central-broker-master-input' starts with 0 in queue and the queue file is disable
b2023-02-01T10:43:26.721+01:00] :core] oinfo] Destroying muxer central-broker-master-input: number of events in the queue: 0
b2023-02-01T10:43:26.722+01:00] :core] oinfo] multiplexing: 'centreon-broker-master-rrd' starts with 0 in queue and the queue file is disable
b2023-02-01T10:43:26.722+01:00] :core] oinfo] multiplexing: 'Centreon_4_Splunk' starts with 0 in queue and the queue file is disable
b2023-02-01T10:43:26.723+01:00] :core] oinfo] multiplexing: 'central-broker-master-unified-sql' starts with 0 in queue and the queue file is disable
b2023-02-01T10:43:26.724+01:00] :core] oinfo] multiplexing: engine started
b2023-02-01T10:43:26.733+01:00] :core] oinfo] Available connections cleaning: Operation aborted.
b2023-02-01T10:43:26.742+01:00] :core] oinfo] Poller '' with id 0 connected
b2023-02-01T10:43:26.742+01:00] :core] oinfo] New incoming connection 'central-broker-master-input-1'
b2023-02-01T10:43:26.743+01:00] :core] oinfo] multiplexing: 'central-broker-master-input-1' starts with 0 in queue and the queue file is disable
b2023-02-01T10:43:26.859+01:00] :core] owarning] Poller '' with id 0 already known as connected. Replacing it with ''
b2023-02-01T10:43:30.541+01:00] :core] oinfo] Available connections cleaning: Operation aborted.
b2023-02-01T10:43:30.545+01:00] :core] owarning] Poller '' with id 0 already known as connected. Replacing it with ''
b2023-02-01T10:43:30.545+01:00] :core] oinfo] New incoming connection 'central-broker-master-input-2'
b2023-02-01T10:43:30.545+01:00] :core] oinfo] multiplexing: 'central-broker-master-input-2' starts with 0 in queue and the queue file is disable

Any idea ?

I have a similar issue, no resources appear. In the Pollers Conf. Web view I see the message:

* Only services, servicegroups, hosts and hostgroups are taken in account in order to calculate this status. If you modify a template, it won't tell you the configuration had changed.

 

have you modify any PHP file?


Reply