prometheus-community/node-exporter-textfile-collector-scripts

Scripts for node-exporter's textfile collector

613

stars

232

commits

Python

primary language

Jul 19, 2026

updated

README

Textfile Collector Example Scripts

These scripts are examples to be used with the Node Exporter textfile collector.

To use these scripts, we recommend using sponge to atomically write the output.

<collector_script> | sponge <output_file>

Sponge comes from moreutils

Caveat: sponge cannot write atomically if the path specified by the TMPDIR environment variable is not on the same filesystem as the target output file.

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

Contributors

(top 30 of 81)

SuperQ

55 commits

dswarbrick

50 commits

candlerb

12 commits

anarcat

8 commits

prometheus-community/node-exporter-textfile-collector-scripts

Scripts for node-exporter's textfile collector

613

stars

232

commits

Python

primary language

Jul 19, 2026

updated

README

Textfile Collector Example Scripts

These scripts are examples to be used with the Node Exporter textfile collector.

To use these scripts, we recommend using sponge to atomically write the output.

<collector_script> | sponge <output_file>

Sponge comes from moreutils

Caveat: sponge cannot write atomically if the path specified by the TMPDIR environment variable is not on the same filesystem as the target output file.

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

Contributors

(top 30 of 81)

SuperQ

55 commits

dswarbrick

50 commits

candlerb

12 commits

anarcat

8 commits

Languages

Python

70.7%

Shell

27.5%

Awk

1.8%