<?xml version="1.0" encoding="UTF-8" ?>
<centreonbroker>
  <include>@PROJECT_SOURCE_DIR@/test/cfg/broker_modules.xml</include>
  <poller_id>42</poller_id>
  <broker_id>42</broker_id>
  <instance_name>MyBroker</instance_name>
  <!--
  <stats>
    <fifo>/tmp/cbmod.fifo</fifo>
  </stats>
  <log_timestamp>1</log_timestamp>
  <logger>
    <type>file</type>
    <name>cbmod.log</name>
    <config>1</config>
    <debug>1</debug>
    <error>1</error>
    <info>1</info>
    <level>3</level>
  </logger>
  -->
  <output>
    <name><![CDATA[central-broker-master-perfdata]]></name>
    <length>1</length>
    <db_type>@DB_TYPE@</db_type>
    <db_host>@DB_HOST@</db_host>
    <db_port>@DB_PORT@</db_port>
    <db_user>@DB_USER@</db_user>
    <db_password>@DB_PASSWORD@</db_password>
    <db_name>@MYSQL_DB_NAME@</db_name>
    <insert_in_index_data>true</insert_in_index_data>
    <check_replication>no</check_replication>
    <type>storage</type>
  </output>
  <output>
    <name>InfluxdbUnitTest</name>
    <type>influxdb</type>
    <db_host>@INFLUXDB_DB_HOST@</db_host>
    <db_port>@INFLUXDB_DB_PORT@</db_port>
    <db_user>@INFLUXDB_DB_USER@</db_user>
    <db_password>@INFLUXDB_DB_PASSWORD@</db_password>
    <db_name>@INFLUXDB_DB_NAME@</db_name>
    <metrics_timeseries>$METRIC$</metrics_timeseries>
    <metrics_column>
      <name>metric_id</name>
      <value>$METRICID$</value>
      <is_tag>true</is_tag>
      <type>number</type>
    </metrics_column>
    <metrics_column>
      <name>value</name>
      <value>$VALUE$</value>
      <type>number</type>
    </metrics_column>
    <metrics_column>
      <name>metric</name>
      <value>$METRIC$</value>
    </metrics_column>
    <metrics_column>
      <name>hostid</name>
      <value>$HOSTID$</value>
    </metrics_column>
    <metrics_column>
      <name>host</name>
      <value>$HOST$</value>
    </metrics_column>
    <metrics_column>
      <name>serviceid</name>
      <value>$SERVICEID$</value>
    </metrics_column>
    <metrics_column>
      <name>service</name>
      <value>$SERVICE$</value>
    </metrics_column>
    <metrics_column>
      <name>instanceid</name>
      <value>$INSTANCEID$</value>
    </metrics_column>
    <metrics_column>
      <name>instance</name>
      <value>$INSTANCE$</value>
    </metrics_column>
    <status_timeseries>status</status_timeseries>
    <status_column>
      <name>status_id</name>
      <value>$INDEXID$</value>
      <is_tag>true</is_tag>
      <type>number</type>
    </status_column>
    <status_column>
      <name>value</name>
      <value>$VALUE$</value>
      <type>number</type>
    </status_column>
    <status_column>
      <name>hostid</name>
      <value>$HOSTID$</value>
    </status_column>
    <status_column>
      <name>host</name>
      <value>$HOST$</value>
    </status_column>
    <status_column>
      <name>serviceid</name>
      <value>$SERVICEID$</value>
    </status_column>
    <status_column>
      <name>service</name>
      <value>$SERVICE$</value>
    </status_column>
    <status_column>
      <name>instanceid</name>
      <value>$INSTANCEID$</value>
    </status_column>
    <status_column>
      <name>instance</name>
      <value>$INSTANCE$</value>
    </status_column>
    <queries_per_transaction>2</queries_per_transaction>
  </output>
</centreonbroker>
