From 9d81f4031065a81049443867daabb4f84ebaa240 Mon Sep 17 00:00:00 2001 From: Boris Glimcher <36732377+glimchb@users.noreply.github.com> Date: Tue, 8 Oct 2024 08:32:18 -0400 Subject: [PATCH] fix(mev): teelgraf config file Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com> --- telegraf.d/telegraf.conf.mev | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/telegraf.d/telegraf.conf.mev b/telegraf.d/telegraf.conf.mev index 54e9f95..573abd3 100644 --- a/telegraf.d/telegraf.conf.mev +++ b/telegraf.d/telegraf.conf.mev @@ -10,10 +10,10 @@ [[inputs.nstat]] # no configuration -#[[inputs.exec]] -# commands = ["ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ConnectTimeout=3 root@192.168.0.1 iset-cli get-temperature"] -# name_override = "temp" -# data_format = "json" +[[inputs.file]] + files = ["/run/mev_imc_temperature.json"] + name_override = "temp" + data_format = "json" [[outputs.file]] files = ["stdout"]