I have setup S.M.A.R.T data collection with
[[inputs.smart]] interval = "6h" use_sudo = true attributes = true devices = [ "/dev/sda" ] tagexclude = ["capacity", "model", "serial_no", "wwn"]
Worked fine initially, but stopped for one node after a few days, for another after two weeks.
telegraf measurements, and there are quite a few, work fine on these nodes.
I get for
exit_status=1 from these two nodes. When I test with
sudo -u telegraf sudo smartctl --info --attributes --health \ --format=brief /dev/sda
sudo -u telegraf telegraf --config in.smart_sda.conf --test
no errors are returned on both nodes and the expected output is printed.
Any help/hint is highly welcome.