node-exporter-textfile-collector-scripts icon indicating copy to clipboard operation
node-exporter-textfile-collector-scripts copied to clipboard

Scripts for node-exporter's textfile collector

Text collector example scripts

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

Example Usecases

Grafana Dashboard for smartmon.sh

An exemplary Grafana Dashboard for using the data from smartmon.sh is available as id 10664 from the Grafana Dashboard directory.

Example Dashbaord for smartmon.sh data

Further reading

For more information see: https://github.com/prometheus/node_exporter#textfile-collector