smartctl
This commit is contained in:
parent
5a49533460
commit
a564d2ed31
1 changed files with 1 additions and 1 deletions
|
@ -19,6 +19,6 @@ do
|
||||||
# hdd might be sleeping
|
# hdd might be sleeping
|
||||||
if [[ $temp == ?(-)+([0-9]) ]]
|
if [[ $temp == ?(-)+([0-9]) ]]
|
||||||
then
|
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
|
fi
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue