# Telegraf Configuration [global_tags] # Configuration for telegraf agent [agent] interval = "${TELEGRAF_AGENT_INTERVAL}" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 collection_jitter = "0s" flush_interval = "10s" precision = "0s" hostname = "" omit_hostname = false ############################################################################### # OUTPUT PLUGINS # ############################################################################### # Configuration for sending metrics to InfluxDB [[outputs.influxdb_v2]] urls = ["${INFLUXDB_URL}"] token = "${INFLUXDB_TOKEN}" organization = "${INFLUXDB_ORG}" bucket = "${INFLUXDB_BUCKET}" ############################################################################### # INPUT PLUGINS # ############################################################################### ############################################################################### # INPUT PLUGINS FREEBOX # ############################################################################### # Read metrics from one or more commands that can output to stdout [[inputs.exec]] commands = [ "/usr/local/py/freebox-monit.py -$ARGS" ] timeout = "${TELEGRAF_SCRIPT_TIMEOUT}" data_format = "influx"