pihole-exporter
pihole-exporter copied to clipboard
Dashboard showing no data
Great project, thank you for publishing. I have
- the exporter setup successfully, can 'curl 127.0.0.1:9617/metrics' and get back metrics
- prometheus setup correctly, can hit the prometheus web dashboard and see pihole as a target
- Installed the grafana dashboard for Pi-Hole Exporter, but it's 100% blank and missing data
I found this page that has a solution: https://www.ncartron.org/grafana-and-pi-hole.html That solution works.
And multiple people on the internet searching for the same solution: here is one: https://www.gitmemory.com/issue/eko/pihole-exporter/3/495494348
Would you please add some of these dashboard installation instructions to the README in this repo? It would really ease usage of this great tool. Thanks for sharing it.
It seems that the source is static. Had to rename everything in the JSON file by hand. I think if we can export something with a variable it's an easy fix. I've seen dashboards when you import them you have to give a source, and that would be ideal. I don't have that much experience with exporting dashboards however.
Without hijacking your thread, I ran into an issue when you have multiple PiHole exporter that have data, it tries to diplay the data twice. I still need to fix that and then I was planning on creating a new template mentioning the thing above.
PI-Hole Exporter-1612862425130.json.zip
Here we go, now supports multiple exports, and importing should go easier as it asks for the source :) please give it a try and let me know @rqbanerjee ! Also updated the tables and the stats page to the new version.
The version on grafana.com is severely outdated. @eko could you update that one?
The version on grafana.com is severely outdated. @eko could you update that one?
Yeah, please @eko update the one on grafana. Also the pie chart plugin has to be switched to the new one.
Hi,
The dashboard has been updated with the one available in the GitHub repository (see revision number 3): https://grafana.com/grafana/dashboards/10176-pi-hole-exporter/?tab=revisions
I hope it helps.
I will try to upgrade it in the coming days. Don't hesitate to do it if you have some time available :)
Perhaps I can interest you in a dashboard I'm creating:
I'm open for suggestions about other charts, I've just created it today and it's my first dashboard created from scratch.
The dashboard has support for multiple instances, and by default displays for all, but one or multiple can be selected.
I'll share it some time next week and paste the link here
EDIT: after keeping it running for 24h, I can see that I had some wrong assumptions. The data gathered by this exporter seems to be mostly a 24h sum of various metrics - I guess this is because pihole itself reports it like that. I have to investigate a bit more. It's a pity that Pihole doesn't have metrics endpoint in itself...