Bug 253696 - sysutils/node_exporter: add SMART support
Summary: sysutils/node_exporter: add SMART support
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2021-02-19 16:29 UTC by Lapo Luchini
Modified: 2021-03-09 18:41 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (dor.bsd)

/usr/local/sbin/smartmon_exporter (7.13 KB, application/x-shellscript)
2021-02-19 16:29 UTC, Lapo Luchini
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2021-02-19 16:29:41 UTC
Created attachment 222642 [details]

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: