This commit is contained in:
mwiegand 2021-10-30 20:43:47 +02:00
parent 5a49533460
commit a564d2ed31

View file

@ -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