Pi-hole InfluxDB Monitor

Export Pi-hole statistics to InfluxDB 2.x

Easily monitor one or more Pi-hole instances

Monitor your Pi-holes and export statistics to InfluxDB 2.x.

1
2
3
4
5
6
7
8
9
docker run -d \
    -e PIHOLE_ALIAS="pihole" \
    -e PIHOLE_ADDRESS="http://pi.hole" \
    -e PIHOLE_TOKEN="pihole_api_token" \
    -e INFLUXDB_ADDRESS="http://influxdb:8086" \
    -e INFLUXDB_ORG="my-org" \
    -e INFLUXDB_TOKEN="super_secret_token" \
    -e INFLUXDB_BUCKET="pihole" \
    avojak/pihole-influxdb:latest

Then display all the metrics in a Grafana dashboard:

Grafana dashboard

Check out the full source over on my GitHub:

Related