You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ uname -a
Linux desktop 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Telegraf version: latest master.
Steps to reproduce:
Enable the SMART input plugin.
Collect metrics.
Load the HDD: time sh -c "dd if=/dev/zero of=test bs=1M count=3k && sync" (should take around 30s on a modern HDD).
Expected behavior:
Telegraf captures SMART measurements for the supported block devices.
Actual behavior:
Telegraf does not capture any SMART measurements when the HDD is under load.
Additional info:
This is due to a hardcoded 5s timeout for smartctl. It is possible to verify that under those circumstances smartctl takes more than 5s even outside of Telegraf. Verified on 2 different computers with different HDDs.
The text was updated successfully, but these errors were encountered:
Relevant telegraf.conf:
System info:
Ubuntu 18.04 LTS
Telegraf version: latest master.
Steps to reproduce:
time sh -c "dd if=/dev/zero of=test bs=1M count=3k && sync"
(should take around 30s on a modern HDD).Expected behavior:
Telegraf captures SMART measurements for the supported block devices.
Actual behavior:
Telegraf does not capture any SMART measurements when the HDD is under load.
Additional info:
This is due to a hardcoded 5s timeout for
smartctl
. It is possible to verify that under those circumstancessmartctl
takes more than 5s even outside of Telegraf. Verified on 2 different computers with different HDDs.The text was updated successfully, but these errors were encountered: