Bug 253696

Summary: sysutils/node_exporter: add SMART support
Product: Ports & Packages Reporter: Lapo Luchini <lapo>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: New ---    
Severity: Affects Only Me CC: dor.bsd, ygy
Priority: --- Flags: bugzilla: maintainer-feedback? (dor.bsd)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
/usr/local/sbin/smartmon_exporter none

Description Lapo Luchini 2021-02-19 16:29:41 UTC
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
Comment 1 Lapo Luchini 2021-03-09 18:41:24 UTC
PS: I'm using it with success with this Grafana dashboard:
https://grafana.com/grafana/dashboards/10530