From 09d8d9aacf5c1054b2264d5bea647d8281543ac9 Mon Sep 17 00:00:00 2001 From: Uzurka Date: Sun, 25 Jun 2023 09:31:21 +0200 Subject: [PATCH] added timeout vars --- telegraf.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/telegraf.conf b/telegraf.conf index 117867a..532cf77 100644 --- a/telegraf.conf +++ b/telegraf.conf @@ -3,7 +3,7 @@ # Configuration for telegraf agent [agent] - interval = "10s" + interval = "${TELEGRAF_AGENT_INTERVAL:10s}" round_interval = true metric_batch_size = 1000 metric_buffer_limit = 10000 @@ -43,5 +43,5 @@ commands = [ "python3 /usr/local/py/freebox-monit.py -$ARGS" ] - timeout = "5s" + timeout = "${TELEGRAF_SCRIPT_TIMEOUT:5s}" data_format = "influx"