Skip to main content

Hello,

i’m facing th ressource status page empty too.

I followed this thread to help me debug the issue :

I tryed running this and check the central-broker-master configuration but nothing strange inside.

# sudo -u apache /usr/bin/php /usr/share/centreon/bin/console c:c

But page  still not contains any host/services.

I checked the table centreon_storage.ressources and it’s still empty after a while :

 select count(*) from resource
+----------+
| count(*) |
+----------+
| 0 |
+----------+
1 row in set (0.000 sec)

Can someone help me out of this ?

Architecture is : 1 central, 4 pollers.

 

Hi @GCHARDIN ,

Several conditions need to be matched so that resources table gets filled.

  • Could please check that in the broker configuration the protocol used for BBDO is 3.0.0
  • Could please check also that you have the output “Unified SQL” configure for the central-broker-master broker configuration file

IMPORTANT

I can read in your message that you have 4 pollers configured. Those need to match the central configuration regarding BBDO version.

Regards

Adrien


Hello @Adrien Morais-Mestre ,

Yes, BBDO version is 3.0.0 and there is an “Unified SQL” output configured.

 

I checked the pollers BBDO version right now and it’s set to 3.0.0 too.


Okay nice, just to ensure that everything is correctly processed by broker could you please restart cbd process on the central and all pollers

Thanks


Central server has been rebooted several times and I restart cbd service right now.

On 3 pollers :
 

systemctl status cbd.service
Unit cbd.service could not be found.

But gorgoned is running

 

On 1 poller :

cbd service is running and gorgoned is running.


Okay

You have upgraded to the 22.10.0 ? Could you try to upgrade to the latest centreon-web version (it contains some hotfixes for Resource Status).

Also, could check those log files to see if there is any error

  • /var/log/centreon-engine/centengine.log
  • /var/log/centreon-broker/central-broker-master.log
  • /var/log/php-fpm/centreon-error.log

Regards


/var/log/centreon-engine/centengine.log  ==> no error, contains valid recents data

 

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

"2022-12-13T16:06:44.161+01:00] ]core] ]error] acceptor: endpoint 'central-broker-master-input' could not accept client: BBDO: peer is using protocol version 2.0.0 whereas we're using protocol version 3.0.0
/2022-12-13T16:06:44.161+01:00] ]tcp] ]error] Error while reading on socket: Operation aborted.
/2022-12-13T16:06:44.216+01:00] ]core] ]info] Available connections cleaning: Operation aborted.
/2022-12-13T16:06:44.221+01:00] ]core] ]info] Available connections cleaning: Operation aborted.

It seems to be the culprit...

/var/log/php-fpm/centreon-error.log  ==> some php warnings, but nothing to worry i think


Some data appears,

i export conf to pollers and restart services.


Yes that would have been my next question did you export the configuration to get the new outputs.

Glad to hear that its doing well now


Reply