eko / pihole-exporter

A Prometheus exporter for PI-Hole's Raspberry PI ad blocker
MIT License
924 stars 106 forks source link

Bad Data #212

Closed sirEgghead closed 10 months ago

sirEgghead commented 10 months ago

My Pihole is running on Ubuntu 22.04. I installed the exporter today and pointed Prometheus to it. I'm getting bad data. Everything just says "A series" or "B series" and the values don't contain any useful information. I'm using Grafana dashboard 10176.

image

I'd provide more information if I knew what to offer. Early thanks!

Steps for Reproduction

Prometheus config:

    static_configs:
      - targets: ["localhost:9617"]
  1. Set up the following "xxxx" value in the config.yaml configuration file
  2. Launch binary with the following arguments /opt/pihole_exporter/pihole_exporter-linux-amd64 -pihole_hostname 10.10.0.14 -pihole_password password WorkingDirectory=/opt/pihole_exporter

Expected behavior: To display information similar to the screenshot at https://grafana.com/grafana/dashboards/10176-pi-hole-exporter/

Actual behavior: Domains and query types not displayed. Raw metrics from port 9617 seem to contain info. image

Platforms: Ubuntu Server 22.04 Pihole 5.17.2 Prometheus 2.43.0 Grafana 10.2.2 Firefox 119.0.1

sirEgghead commented 10 months ago

Sorry I just realized that this repo isn't related to the dashboard. I hope everyone has a wonderful day.