A script which will read Pihole statistics and write them to InfluxDB.
Run using:
docker run --name=pihole2influx \
-e ENVIRONMENT_VARIABLE=value \ # see below for options
jasongwartz/pihole2influx:arm32v6
The default image jasongwartz/pihole2influx:arm32v6
is built for ARM devices (will work on all Raspberry Pi models).
Configuration: The following parameters can be customised using environment variables:
INFLUX_HOST
- default islocalhost
INFLUX_PORT
- default is8086
INFLUX_DATABASE
- default ispihole
PIHOLE_API
- default ishttp://localhost/admin/api.php