Summary: | sysutils/node_exporter: add SMART support | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Lapo Luchini <lapo> | ||||
Component: | Individual Port(s) | Assignee: | Mateusz Piotrowski <0mp> | ||||
Status: | Closed Not Accepted | ||||||
Severity: | Affects Only Me | CC: | 0mp, dor.bsd, freebsd, ygy | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(dor.bsd) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
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 |
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