geerlingguy / internet-pi

Raspberry Pi config for all things Internet.
MIT License
4.37k stars 452 forks source link

Airmon data not being pulled #461

Closed KenOnGitHub closed 1 year ago

KenOnGitHub commented 2 years ago

Hi, Im new to Prometheus, and followed your guide to set up pihole and all the bits that came with it. i am having an issues with the Air monitor i built the air gradient sensor and set the code as per the details in your other video. it transmits up on the port, but the DB is not scraping it or posting to the Grafana dashboard. Any help would be Great

ErinsMatthew commented 1 year ago

What happens if you open the Air monitor's /monitor endpoint directly using your browser? (The IP and port are in your config.yml.) It should display a list of metrics as text. This is what Prometheus should then "scrape".

KenOnGitHub commented 1 year ago

after some reconfig and playing around i found the problem to be a classic case of user error. with in the config file i had typed the wrong i.p address but a single number out. this has now been fixed and is working fine, sorry to have posted without checking this first

stale[bot] commented 1 year ago

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

github-actions[bot] commented 1 year ago

This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.