Giter VIP home page Giter VIP logo

Comments (11)

eko avatar eko commented on June 11, 2024

Hi @kbreit,

I think I can close this now since you've added the hostname on Grafana dashboard? This is not really related to the Prometheus exporter ;)

from pihole-exporter.

kbreit avatar kbreit commented on June 11, 2024

When I look at the metrics page for the exporter, almost all the values are 0. I can’t tell if it’s communicating with pihole or not.

from pihole-exporter.

eko avatar eko commented on June 11, 2024

Have you tried with the dashboard on this repository that allows you to select the node?

See: https://github.com/eko/pihole-exporter/blob/master/grafana/dashboard.json

from pihole-exporter.

pellett22 avatar pellett22 commented on June 11, 2024

same issue here. Appears there are no Prometheus queries in the dashboard that was downloaded from this repository

from pihole-exporter.

kbreit avatar kbreit commented on June 11, 2024

That's what I'm seeing. When I go to the /metrics page, all the metrics are 0. I used the Grafana explorer, and Prometheus, to test this and getting the same result.

from pihole-exporter.

pellett22 avatar pellett22 commented on June 11, 2024

I believe the issue is that the datasource for influxdb is called 'pihole' too.

When I removed the influxdb datasource, the dashboard started displaying data.

Also, set your Prometheus datasource as the default.

from pihole-exporter.

eko avatar eko commented on June 11, 2024

Do you have precized the correct IP address of you PI-Hoke instance when running the exporter? (see Readme file)

from pihole-exporter.

kbreit avatar kbreit commented on June 11, 2024

The correct IP address is in my configuration. I did run a docker logs pihole-exporter and did see a ton of these errors. Are they consequential?

2019/06/13 02:20:12 Unable to unmarshal PI-Hole statistics to statistics struct model invalid character '<' looking for beginning of value

from pihole-exporter.

eko avatar eko commented on June 11, 2024

@kbreit,

Are you able to look at the API stats on the PI-Hole API URL:

http://<IP of your PI-Hole>/admin/api.php?summaryRaw&overTimeData&topItems&recentItems&getQueryTypes&getForwardDestinations&getQuerySources&jsonForceObject

In case you have a password on your instance, please ensure that you provide the right password on pihole_password config option (see: https://github.com/eko/pihole-exporter#available-cli-options).

from pihole-exporter.

d7eeem avatar d7eeem commented on June 11, 2024

main is this
Annotation Query Failed
Datasource named ${DS_PROMETHEUS1} was not found

from pihole-exporter.

eko avatar eko commented on June 11, 2024

Closing this issue as it's too old and I cannot find any trace of DS_PROMETHEUS1 variable anywhere in Grafana dashboard or in this repository.

I hope this is fixed for you now. Thank you

from pihole-exporter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.