These scripts are examples to be used with the Node Exporter Textfile Collector.
To use these scripts, we recommend using a sponge
to atomically write the output.
<collector_script> | sponge <output_file>
Sponge comes from moreutils
An exemplary Grafana Dashboard for using the data from smartmon.sh
is available as id 10664
from the Grafana Dashboard directory.
For more information see: https://github.com/prometheus/node_exporter#textfile-collector