You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
545 B
16 lines
545 B
# 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](https://joeyh.name/code/moreutils/)
|
|
* [brew install moreutils](http://brewformulas.org/Moreutil)
|
|
* [apt install moreutils](https://packages.debian.org/search?keywords=moreutils)
|
|
|
|
For more information see:
|
|
https://github.com/prometheus/node_exporter#textfile-collector
|