From a564d2ed31c2072e3eefb049e6d28334de0927fa Mon Sep 17 00:00:00 2001 From: mwiegand Date: Sat, 30 Oct 2021 20:43:47 +0200 Subject: [PATCH] smartctl --- bundles/smartctl/files/telegraf_plugin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/smartctl/files/telegraf_plugin b/bundles/smartctl/files/telegraf_plugin index c3688fa..6308064 100644 --- a/bundles/smartctl/files/telegraf_plugin +++ b/bundles/smartctl/files/telegraf_plugin @@ -19,6 +19,6 @@ do # hdd might be sleeping if [[ $temp == ?(-)+([0-9]) ]] then - echo "smartctl,host=${node.name},device=$device temperature=${temp} $(date --utc +%s%N)" + echo "smartctl,host=${node.name},device=$device temperature=$temp $(date --utc +%s%N)" fi done