Hi ich777, thanks for your hard work!
I tried your guide, and setup Prometheus and Prometheus node exporter without any issues.
However, when i setup the pihole plugin, and enter my pihole ip and port 80 and api token, and click change and start, it runs for a while and stops automatically.
I get the following error:
2021/07/11 01:30:52 Starting HTTP server
2021/07/11 01:31:02 An error has occured during retrieving PI-Hole statistics Get "http://192.168.1.46:281/admin/api.php?summaryRaw&overTimeData&topItems&recentItems&getQueryTypes&getForwardDestinations&getQuerySources&jsonForceObject&auth=*****************************************": dial tcp 192.168.1.46:281: connect: connection refused
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x811daa]
goroutine 37 [running]:
created by main.initPiHoleClient
192.168.1.46 is my pihole ip and using port 80
please help, im a newbie to linux and have no idea what these is all about.
Thanks again for all your hard work.
Edit: NVM, it just worked after i tried again. Maybe i entered the wrong port by mistake.
Again, thanks for your hard work!
Edit 2: some of my dockers stoped working after enabling host access to custom networks, disabled this and they works again. any idea how to fix this?