Question

error with CBD : centreon 23.10

  • 13 March 2024
  • 2 replies
  • 66 views

Badge +2

Hi Guys,

I wish that everything is allright :) 

 

I’m contacting all of you because I’ve got some problems with Centreon 23.10 and you’re help is appreciated. 

 I'm having an issue with Centreon 23.10 . It seems there's a problem with cbd.

Indeed, neither the central server nor the pollers are running.

 

 

The following link has been consulted https://thewatch.centreon.com/data-collection-6/error-during-cbd-exit-config-parser-unified-sql-output-is-incompatible-with-storage-sql-outputs-976?postid=3641#post3641 but it is impossible to delete outputs from central-broker-master

 

One service is missing on cbd services : (usr/sbin/cbd /etc/centreon-broker/central-broker.json

 

Could you give me a hand, please ? It will be appreciated 

 

 

 

Content of /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",
        "bbdo_version": "3.0.1",
        "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",
                "buffering_timeout": "0",
                "retry_interval": "15",
                "protocol": "bbdo",
                "tls": "auto",
                "negotiation": "yes",
                "one_peer_retention_mode": "no",
                "compression": "auto",
                "type": "ipv4"
            },
            {
                "type": "ipv4",
                "name": "connection-to-fhrfhjfh",
                "protocol": "bbdo",
                "tls": "no",
                "negotiation": "yes"
            },
            {
                "type": "ipv4",
                "name": "connection-to-POLLER1-poller",
                "protocol": "bbdo",
 

               "tls": "no",
                "negotiation": "yes"
            },
            {
                "type": "ipv4",
                "name": "connection-to-POLLER2",
                "protocol": "bbdo",
                "tls": "no",
                "negotiation": "yes"
            },
            {
                "type": "ipv4",
                "name": "connection-to-POLLER3",
                "protocol": "bbdo",
                "tls": "no",
                "negotiation": "yes"
            },
            {
                "name": "connection-to-TEST-GH",
                "port": "5669",
                "retry_interval": "15",
                "buffering_timeout": "0",
                "host": "IP_CENTRAL",
                "protocol": "bbdo",
                "tls": "no",
                "negociation": "yes",
                "one_peer_retention_mode": "no",
                "compression": "no",
                "type": "ipv4"
            }
        ],
        "output": [
            {
                "name": "central-broker-master-unified-sql",
                "db_type": "mysql",
                "retry_interval": "15",
                "buffering_timeout": "0",
                "db_host": "localhost",
                "db_port": "3306",
                "db_user": "centreon",
                "db_password": "XXXXXXXXXX",
                "db_name": "centreon_storage",
                "interval": "60",
                "length": "15552000",
                "check_replication": "no",
                "store_in_data_bin": "yes",
                "insert_in_index_data": "1",
                "type": "unified_sql"
            },
            {
                "name": "centreon-broker-master-rrd",
                "port": "5670",
                "host": "localhost",
                "protocol": "bbdo",
 "tls": "no",
                "negotiation": "yes",
                "one_peer_retention_mode": "no",
                "compression": "no",
                "type": "ipv4",
                "retry_interval": "60",
                "buffering_timeout": "0"
            },
            {
                "type": "sql",
                "name": "central-broker-master-sql",
                "db_type": "db2",
                "buffering_timeout": "0",
                "retry_interval": "60"
            },
            {
                "type": "storage",
                "name": "central-broker-master-perfdata",
                "interval": "60",
                "retry_interval": "60",
                "buffering_timeout": "0",
                "length": "15552000",
                "db_type": "mysql",
                "db_host": "localhost",
                "db_port": "3306",
                "db_user": "centreon",
                "db_password": "XXXXXXXXXX",
                "db_name": "centreon_storage",
                "check_replication": "no",
                "store_in_data_bin": "yes",
                "insert_in_index_data": "1"
            }
        ],
        "stats": [
            {
                "type": "stats",
                "name": "central-broker-master-stats",
                "json_fifo": "/var/lib/centreon-broker/central-broker-master-stats.json"
            }
        ],
        "grpc": {
            "port": 51001

 

Status of cbd

 


Error found when launching   /usr/sbin/cbd -D /etc/centreon-broker/central-broker.json


 

Version of mysql


 
Error in ​​​​​​ /var/log/centreon-broker/central-broker-master.log


 
Used BBDO version : 3.0.1

 

service 5669
 

2 replies

Badge +2

Hello all,

 

Could you please close this ticket. the problem was resolved !

Userlevel 5
Badge +11

Hi @heritiana, please tell us how you solved this problem. I'm sure it will help someone with the same issue to resolve it quickly. Thanks in advance ; )

Reply