Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nothing happening on Raspberry Pi #206

Open
rfpludwick opened this issue Oct 9, 2023 · 3 comments
Open

Nothing happening on Raspberry Pi #206

rfpludwick opened this issue Oct 9, 2023 · 3 comments

Comments

@rfpludwick
Copy link

Running 0.4.0 on a Raspberry Pi 2, 32bit OS, binary (not Docker), on same host as Pi-hole. I can't seem to get it to do anything at all, regardless of the command line parameters given. Sample output below:

INFO[0000] ------------------------------------
INFO[0000] -  PI-Hole exporter configuration  -
INFO[0000] ------------------------------------
INFO[0000] Go version: go1.20.1
INFO[0000] PIHoleProtocol : [http]
INFO[0000] PIHoleHostname : [127.0.0.1]
INFO[0000] PIHolePort : [80]
INFO[0000] Port : 9617
INFO[0000] Timeout : 5s
INFO[0000] ------------------------------------
INFO[0000] New Prometheus metric registered: domains_blocked
INFO[0000] New Prometheus metric registered: dns_queries_today
INFO[0000] New Prometheus metric registered: ads_blocked_today
INFO[0000] New Prometheus metric registered: ads_percentag_today
INFO[0000] New Prometheus metric registered: unique_domains
INFO[0000] New Prometheus metric registered: queries_forwarded
INFO[0000] New Prometheus metric registered: queries_cached
INFO[0000] New Prometheus metric registered: clients_ever_seen
INFO[0000] New Prometheus metric registered: unique_clients
INFO[0000] New Prometheus metric registered: dns_queries_all_types
INFO[0000] New Prometheus metric registered: reply
INFO[0000] New Prometheus metric registered: top_queries
INFO[0000] New Prometheus metric registered: top_ads
INFO[0000] New Prometheus metric registered: top_sources
INFO[0000] New Prometheus metric registered: forward_destinations
INFO[0000] New Prometheus metric registered: querytypes
INFO[0000] New Prometheus metric registered: status
INFO[0000] Creating client with config <Config@240E628 PIHoleProtocol=http, PIHoleHostname=127.0.0.1, PIHolePort=80>
INFO[0000] Starting HTTP server

It just stops there. No crash, no more log output. Again, it doesn't seem to matter what CLI params I provide - this is the same behavior every single time.

@AmadeusGraves
Copy link

This also, happens to me.

@Junkbite
Copy link

anyone got any updates to this?

@MuellerKlaus
Copy link

What do you expect to happen?

The web server is started and you can use curl to check the provided data: 'curl http://ip:9617/metrics'

Prometheus scrape (pull) information frequently from the provided web endpoint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants