Hacker News new | ask | show | jobs
by adql 1311 days ago
use collectd:

https://collectd.org/wiki/index.php/Plugin:SMART

https://collectd.org/documentation/manpages/collectd.conf.5....

It has plenty of both input and output plugins, and it's tiny. Writing new plugins for it is also a breeze, you just need to have app returning a line of text.