<commit_before>{
  "name": "Central",
  "content": {
    "broker": {
      "setup": [
        {
          "name": "Broker Module",
          "params": {
            "mode": [
              {
                "normal": [
                  {
                    "general": {
                      "name": "central-module"
                    },
                    "output": [
                      {
                        "type" :"ipv4",
                        "name" : "central-output",
                        "port" : "5668",
                        "host" : "localhost",
                        "failover" : "failover-central-output",
                        "protocol": "bbdo"
                      },
                      {
                        "type" :"file",
                        "name" : "failover-central-output",
                        "path" : "%global_broker_data_directory%/central-output.failover"
                      },
                      {
                        "type": "dumper",
                        "tagname": "extcommand-%poller_name%",
                        "path": "%engine_command_file%",
                        "name": "extcommand-%poller_name%"
                      },
                      {
                        "type": "dumper",
                        "tagname": "cfg-engine-%poller_name%",
                        "path": "%engine_conf_dir%/$FILENAME$",
                        "name": "cfg-engine-%poller_name%"
                      },
                      {
                        "type": "dumper",
                        "tagname": "cfg-broker-%poller_name%",
                        "path": "%global_broker_etc_directory%/$FILENAME$",
                        "name": "cfg-broker-%poller_name%"
                      }
                    ],
                    "input": [
                      {
                        "type": "tcp",
                        "name": "central-transfert-input",
                        "host": "localhost",
                        "port": "5669"
                      }
                    ],
                    "logger": [
                      {
                        "type": "file",
                        "name": "%global_broker_logs_directory%/central-module.log"
                      }
                    ],
                    "stats": [
                      {
                        "type": "stats",
                        "name": "stats-central-broker",
                        "fifo": "/var/lib/centreon-broker/stats-central-module.fifo"
                      }
                    ]
                  },
                  {
                    "general": {
                      "name": "central-broker",
                      "%callback%": [
                        "pollerCommandLine",
                        "pollerConfigCentreonEngine",
                        "pollerConfigCentreonBroker"
                      ]
                    },
                    "input": [
                      {
                        "type": "tcp",
                        "name": "central-input",
                        "port": "5668"
                      }
                    ],
                    "output": [
                      {
                        "type": "sql",
                        "name": "central-sql",
                        "failover": "failover-central-sql"
                      },
                      {
                        "type": "file",
                        "name": "failover-central-sql",
                        "path" : "%global_broker_data_directory%/central-sql.failover"
                      },
                      {
                        "type": "storage",
                        "name": "central-storage",
                        "failover": "failover-central-storage"
                      },
                      {
                        "type": "file",
                        "name": "failover-central-storage",
                        "path" : "%global_broker_data_directory%/central-sql.failover"
                      },
                      {
                        "type": "ipv4",
                        "name": "central-rrd",
                        "port": "5670",
                        "host": "localhost",
                        "protocol": "bbdo",
                        "tls": "no",
                        "negociation": "yes",
                        "compression": "no",
                        "failover": "failover-central-rrd"
                      },
                      {
                        "type": "file",
                        "name": "failover-central-rrd",
                        "path" : "%global_broker_data_directory%/central-rrd.failover"
                      },
                      {
                        "type": "tcp",
                        "name": "central-transfert-output",
                        "port": "5669"
                      },
                      {
                        "name": "correlation",
                        "type": "correlation",
                        "file": "%global_broker_etc_directory%/correlation.xml"
                      }
                    ],
                    "logger": [
                      {
                        "type": "file",
                        "name": "%global_broker_logs_directory%/central-broker.log"
                      }
                    ]
                    "stats": [
                      {
                        "type": "stats",
                        "name": "stats-central-broker",
                        "fifo": "/var/lib/centreon-broker/stats-central-broker.fifo"
                      }
                    ]
                  },
                  {
                    "general": {
                      "name": "central-rrd"
                    },
                    "input": [
                      {
                        "type": "ipv4",
                        "name": "central-rrd",
                        "port": "5670",
                        "protocol": "bbdo",
                        "tls": "auto",<commit_msg>Fix broker central configuration<commit_after>{
  "name": "Central",
  "content": {
    "broker": {
      "setup": [
        {
          "name": "Broker Module",
          "params": {
            "mode": [
              {
                "normal": [
                  {
                    "general": {
                      "name": "central-module"
                    },
                    "output": [
                      {
                        "type" :"ipv4",
                        "name" : "central-output",
                        "port" : "5668",
                        "host" : "localhost",
                        "failover" : "failover-central-output",
                        "protocol": "bbdo"
                      },
                      {
                        "type" :"file",
                        "name" : "failover-central-output",
                        "path" : "%global_broker_data_directory%/central-output.failover"
                      },
                      {
                        "type": "dumper",
                        "tagname": "extcommand-%poller_name%",
                        "path": "%engine_command_file%",
                        "name": "extcommand-%poller_name%"
                      },
                      {
                        "type": "dumper",
                        "tagname": "cfg-engine-%poller_name%",
                        "path": "%engine_conf_dir%/$FILENAME$",
                        "name": "cfg-engine-%poller_name%"
                      },
                      {
                        "type": "dumper",
                        "tagname": "cfg-broker-%poller_name%",
                        "path": "%global_broker_etc_directory%/$FILENAME$",
                        "name": "cfg-broker-%poller_name%"
                      }
                    ],
                    "input": [
                      {
                        "type": "tcp",
                        "name": "central-transfert-input",
                        "host": "localhost",
                        "port": "5669"
                      }
                    ],
                    "logger": [
                      {
                        "type": "file",
                        "name": "%global_broker_logs_directory%/central-module.log"
                      }
                    ],
                    "stats": [
                      {
                        "type": "stats",
                        "name": "stats-central-broker",
                        "fifo": "/var/lib/centreon-broker/stats-central-module.fifo"
                      }
                    ]
                  },
                  {
                    "general": {
                      "name": "central-broker",
                      "%callback%": [
                        "pollerCommandLine",
                        "pollerConfigCentreonEngine",
                        "pollerConfigCentreonBroker"
                      ]
                    },
                    "input": [
                      {
                        "type": "tcp",
                        "name": "central-input",
                        "port": "5668"
                      }
                    ],
                    "output": [
                      {
                        "type": "sql",
                        "name": "central-sql",
                        "failover": "failover-central-sql"
                      },
                      {
                        "type": "file",
                        "name": "failover-central-sql",
                        "path" : "%global_broker_data_directory%/central-sql.failover"
                      },
                      {
                        "type": "storage",
                        "name": "central-storage",
                        "failover": "failover-central-storage"
                      },
                      {
                        "type": "file",
                        "name": "failover-central-storage",
                        "path" : "%global_broker_data_directory%/central-sql.failover"
                      },
                      {
                        "type": "ipv4",
                        "name": "central-rrd",
                        "port": "5670",
                        "host": "localhost",
                        "protocol": "bbdo",
                        "tls": "no",
                        "negociation": "yes",
                        "compression": "no",
                        "failover": "failover-central-rrd"
                      },
                      {
                        "type": "file",
                        "name": "failover-central-rrd",
                        "path" : "%global_broker_data_directory%/central-rrd.failover"
                      },
                      {
                        "type": "tcp",
                        "name": "central-transfert-output",
                        "port": "5669"
                      },
                      {
                        "name": "correlation",
                        "type": "correlation",
                        "file": "%global_broker_etc_directory%/correlation.xml"
                      }
                    ],
                    "logger": [
                      {
                        "type": "file",
                        "name": "%global_broker_logs_directory%/central-broker.log"
                      }
                    ],
                    "stats": [
                      {
                        "type": "stats",
                        "name": "stats-central-broker",
                        "fifo": "/var/lib/centreon-broker/stats-central-broker.fifo"
                      }
                    ]
                  },
                  {
                    "general": {
                      "name": "central-rrd"
                    },
                    "input": [
                      {
                        "type": "ipv4",
                        "name": "central-rrd",
                        "port": "5670",
                        "protocol": "bbdo",
                        "tls": "auto",
{'fraction_non_alphanumeric': 0.11948200032578596, 'fraction_numerical': 0.004398110441439974, 'mean_word_length': 0.6267885532591415, 'pattern_counts': {'":': 172, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3747540', 'n_tokens_mistral': 2976, 'n_tokens_neox': 2581, 'n_words': 362}