-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
smart
plugin doesn't report health status and other fields
#9993
Comments
hi there, any update yet? I just encountered the same issue |
i seem to have the same issue |
Hi,
There was an issue resolved with the smart plugin not to long ago that fix some of the metric parsing issues. Can someone please try v1.22.2 or later and let me know what fields are still not showing up?
The The The remaining fields are looked for in the device attributes. Can you please provide the output of Thanks! |
Same issue for me: Additional Info:
|
@simonengel, @kjboa, @zzcpower, Please provide the full output of |
Sure, here the output for a WD Red drive. However this behavior applies to all HDDs and SSDs in the system. Output of
|
@simonengel, or anyone else on this issue, I have put up #11268 with some additional logging. Would you, or anyone else on this issue, be willing to download the artifact for your platform that was attached by the telegraf-tiger and try running it? I would like to get 1) all the additional output and 2) have you run with the exact systemctl command that telegraf is using as well.
These are all attributes that are parsed in the same manner, so something is not getting parsed correctly or matching a regex.
Above I incorrectly said we might need to add Thanks! |
I'm experiencing the same issue. I'm running a proxmox server with 1 WD red conected by USB, 1 internal HDD toshiba and 1SSD samsung. I'm only able to see data for the WD red.
My telegraf config:
Query in telegraf which yields to always a
Version (Should be newest avaialable with
|
@nck974 - can you please run with the @simonengel - have you had a chance to look at my PR? |
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you! |
Sorry I completly forgot to do this:
I tested in: |
plus lots of debug messages fixes: influxdata#9993
plus lots of debug messages fixes: influxdata#9993
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Page. Thank you! |
Relevant telegraf.conf:
System info:
The plugin has not been updated since this version of Telegraf.
Steps to reproduce:
Expected behavior:
health_ok
of a disk is reported.Actual behavior:
health_ok
of a disk is not reported.Additional info:
As can be seen, plugin correctly reports temperature and
exit_status
is 0, so no errors occurred. But fields:health_ok
,read_error_rate
,seek_error
,udma_crc_errors
and tagwwn
are missing.There are no permission issues, as I can run a proper scan as
telegraf
user:Adding SUID to
/usr/bin/smartctl
also didn't help.The text was updated successfully, but these errors were encountered: