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
2022-10-08T14:15:20+01:00 E! [inputs.smart] Error in plugin: failed to run command '/usr/sbin/smartctl [--scan]': exit status 1 - sudo: a password is required
2022-10-08T14:15:30+01:00 E! [inputs.smart] Error in plugin: failed to run command '/usr/sbin/smartctl [--scan]': exit status 1 - sudo: a password is required
2022-10-08T14:15:40+01:00 E! [inputs.smart] Error in plugin: failed to run command '/usr/sbin/smartctl [--scan]': exit status 1 - sudo: a password is required
2022-10-08T14:15:50+01:00 E! [inputs.smart] Error in plugin: failed to run command '/usr/sbin/smartctl [--scan]': exit status 1 - sudo: a password is required
2022-10-08T14:16:00+01:00 E! [inputs.smart] Error in plugin: failed to run command '/usr/sbin/smartctl [--scan]': exit status 1 - sudo: a password is required
2022-10-08T14:16:10+01:00 E! [inputs.smart] Error in plugin: failed to run command '/usr/sbin/smartctl [--scan]': exit status 1 - sudo: a password is required
2
System info
Telegraf 1.24.1 (git: HEAD@bd7d53fb), debian Linux 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200) x86_64 GNU/Linux
@SimonMcN Am I understand you correctly, that after you changed Cmnd_Alias SMARTCTL = /usr/bin/smartctl to Cmnd_Alias SMARTCTL = /usr/sbin/smartctl your problem disappeared?
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
Logs from Telegraf
System info
Telegraf 1.24.1 (git: HEAD@bd7d53fb), debian Linux 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200) x86_64 GNU/Linux
Docker
No response
Steps to reproduce
Expected behavior
Actual behavior
I found that the suggestion of
https://github.com/influxdata/telegraf/blob/master/plugins/inputs/smart/README.md
did not work as it told me to use:
Cmnd_Alias SMARTCTL = /usr/bin/smartctl
when mine is located in
Cmnd_Alias SMARTCTL = /usr/sbin/smartctl
Please can you update the documentation to determine where the smartctl is located on the system.
Cheers
Additional info
No response
The text was updated successfully, but these errors were encountered: