Docker-only option for running Prometheus Node Exporter with textfile collectors
Lauri Võsandi
3e2dd33cd3
All checks were successful
gitea-kspace/prometheus-textfile-collectors/pipeline/head This commit looks good
|
||
---|---|---|
node-exporter-textfile-collector-scripts@8eeeffb362 | ||
.gitmodules | ||
bridge.sh | ||
docker-compose.yml | ||
Dockerfile | ||
entrypoint.sh | ||
Jenkinsfile | ||
README.md |
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.