File: README.md

package info (click to toggle)
prometheus-node-exporter 0.17.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,576 kB
  • sloc: ansic: 1,377; sh: 868; python: 304; makefile: 182; awk: 60; asm: 2
file content (16 lines) | stat: -rw-r--r-- 627 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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)
* [pkg install moreutils](https://www.freshports.org/sysutils/moreutils/)        

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