blob: f47b37d3bddf16427f5260bc9b57db3fa9d94064 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# 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
|