mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-11-25 06:16:26 +01:00
483f59d110
Document how to use `sponge` to atomic update textfiles. |
||
---|---|---|
.. | ||
apt.sh | ||
directory-size.sh | ||
ipmitool | ||
ntpd_metrics.py | ||
README.md | ||
smartmon.sh | ||
storcli.py |
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
For more information see: https://github.com/prometheus/node_exporter#textfile-collector