added timeout vars

This commit is contained in:
2023-06-25 09:31:21 +02:00
parent d4ec50d169
commit 09d8d9aacf

View File

@@ -3,7 +3,7 @@
# Configuration for telegraf agent # Configuration for telegraf agent
[agent] [agent]
interval = "10s" interval = "${TELEGRAF_AGENT_INTERVAL:10s}"
round_interval = true round_interval = true
metric_batch_size = 1000 metric_batch_size = 1000
metric_buffer_limit = 10000 metric_buffer_limit = 10000
@@ -43,5 +43,5 @@
commands = [ commands = [
"python3 /usr/local/py/freebox-monit.py -$ARGS" "python3 /usr/local/py/freebox-monit.py -$ARGS"
] ]
timeout = "5s" timeout = "${TELEGRAF_SCRIPT_TIMEOUT:5s}"
data_format = "influx" data_format = "influx"