pihole-exporter icon indicating copy to clipboard operation
pihole-exporter copied to clipboard

Dashboard showing no data

Open rqbanerjee opened this issue 4 years ago • 6 comments

Great project, thank you for publishing. I have

  1. the exporter setup successfully, can 'curl 127.0.0.1:9617/metrics' and get back metrics
  2. prometheus setup correctly, can hit the prometheus web dashboard and see pihole as a target
  3. 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.

rqbanerjee avatar Feb 07 '21 20:02 rqbanerjee

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.

JimKlapwijk avatar Feb 08 '21 21:02 JimKlapwijk

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.

JimKlapwijk avatar Feb 09 '21 09:02 JimKlapwijk

The version on grafana.com is severely outdated. @eko could you update that one?

SuperSandro2000 avatar May 14 '21 01:05 SuperSandro2000

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.

Tom-jm03 avatar Jan 20 '24 18:01 Tom-jm03

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 :)

eko avatar Jan 21 '24 09:01 eko

Perhaps I can interest you in a dashboard I'm creating:

obraz obraz obraz

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...

artur-borys avatar Jan 21 '24 14:01 artur-borys