Prometheus is an open-source systems monitoring and alerting toolkit.
- Prometheus Exporters
Guides for Installing Prometheus
Prometheus on Windows
Prometheus on Ubuntu
Prometheus in Docker
prometheus.yml direct bind:
docker run -p 9090:9090 -v /tmp/prometheus.yml:/etc/prometheus/prometheus.yml prom/prometheus
Volume to host config file:
docker run -p 9090:9090 -v /prometheus-data prom/prometheus --config.file=/prometheus-data/prometheus.yml
You will want to change /tmp/prometheus.yml to match your setup!
Docker Hub page: https://hub.docker.com/r/prom/prometheus
Prometheus specific configurations. Not to be confused with exporter configurations.
A series of guides for how to use Prometheus Exporters to obtain data.
Exporter Github: https://github.com/eko/pihole-exporter
This guide isn't going to re-do the steps located on the Github page as they are pretty self explanatory. Basically deploy the docker container version with the correct pi-hole config and then update your prometheus.yml config file for Prometheus with a new scrape job against the pi-hole exporter.
This exporter can also be combined with the InfluxDB script found here.