Tag Archives: pi-hole

Pi-hole Now Requires Authentication for API endpoints

I have Pi-hole configured to send it’s statistics to Influx via Telegraf using [[inputs.http]] (thanks to Jorge de la Cruz) but noticed that after upgrading Pi-hole to the latest version, my Grafana dashboard stopped working. Turns out since I have my Pi-hole web interface password protected, I had to change my [[inputs.http]] file from

http://192.168.1.5/admin/api.php

to

http://192.168.1.5:8080/admin/api.php?summaryRaw&auth=TOKEN

since Pi-hole now requires a token for authentication. You can find your token under Settings->API/Web interface->Show API Token.