Skip to content

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

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Scripts for node-exporter's textfile collector

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.5%
  • Shell 30.7%
  • Awk 1.8%