Created attachment 222642 [details] /usr/local/sbin/smartmon_exporter I suggest installing this script as part of the standard port, so that if the user wants to have smartd reports inside the normal node_exporter output, it just needs to do something like this: printf "*/1\t*\t*\t*\t*\troot\t/usr/local/sbin/smartmon_exporter\n" >> /etc/crontab
PS: I'm using it with success with this Grafana dashboard: https://grafana.com/grafana/dashboards/10530
The script itself could indeed be useful in some cases to. However, it seems like it would be much better to just have it in the ports collection as a separate port. There is no good reason to install it as a part of node_exporter. Please create a new port if you'd like to have this script in the ports collection. Cheers!
BTW, this exporter is a part of this repo: https://github.com/prometheus-community/node-exporter-textfile-collector-scripts