node_exporter/textfile_collectors_README
2020-09-16 11:48:11 +08:00

14 lines
479 B
Plaintext

Collectors to run with cronjobs
===============================
This is a place for textfile collectors for node_exporter.
See /usr/share/doc/golang-github-prometheus-node_exporter/text_collector_examples for included examples.
You can use /usr/sbin/node_exporter_textfile_wrapper to simplify using them.
Example:
* * * * * /usr/sbin/node_exporter_textfile_wrapper smartmon.sh
will minutely execute smartmon.sh in the examples dir and write the output to the expected path.