piholestatus
piholestatus copied to clipboard
A shell script to display Pi-Hole stats in Grafana via InfluxDB
Hi, love the script and it works great, except I am not able to pull the status from the pihole api. no matter what I try, when I print the...
Running this script on Ubuntu 17.04. Followed instructions, and getting this error: pihole@pihole:/etc$ sudo ./piholestats.sh Traceback (most recent call last): File "./piholestats.sh", line 47, in domains_blocked = (API_out['domains_being_blocked']).replace(',', '') AttributeError:...
After an update (i think python) shit wouldn't work... Now it wil. And added some new fields!
Forgive me if this sounds pedantic, but it's python not shell script. You can also use supervisor to keep it running, that works great for things like this. Nice job...