Docker-only option for running Prometheus Node Exporter with textfile collectors
Go to file
2021-06-19 07:42:31 +03:00
node-exporter-textfile-collector-scripts@414fb44693 Include upstream Git repo 2021-06-12 20:10:19 +00:00
.gitmodules Include upstream Git repo 2021-06-12 20:10:19 +00:00
bridge.sh Add the secret sauce 2021-06-12 20:16:15 +00:00
docker-compose.yml Fix Docker image addresses 2021-06-14 08:27:22 +00:00
Dockerfile Make docker build fail if submodule has not been checked out 2021-06-19 07:42:31 +03:00
entrypoint.sh Add the secret sauce 2021-06-12 20:16:15 +00:00
README.md Add compose launch snippet 2021-06-12 20:38:03 +00:00

Background

Ubuntu packages are outdated and getting textfile collectors working is a hassle. This is the only sane option for running Prometheus Node Exporter with textfile collectors such as SMART metrics, NVMe metrics etc.

Deploying

See supplied docker-compose.yml and launch:

docker-compose --project-name prometheus_node_exporter up -d

Security

Don't forget to add some iptables rules for protecting the node exporter endpoint.

Still waiting for Prometheus devs to add bearer token support