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

Grafana Prometheus dashboards "No data to show" #562

Closed
d-mcknight opened this issue Jun 11, 2023 · 7 comments
Closed

Grafana Prometheus dashboards "No data to show" #562

d-mcknight opened this issue Jun 11, 2023 · 7 comments
Labels
dashboards Dashboard updates needed stale This issue/PR was marked as stale for inactivity automatically.

Comments

@d-mcknight
Copy link

New to Grafana and Prometheus, but I followed the unpoller docs to try and set this up in unRaid. I tried loading this dashboard and some others, but none of them render any data.

The UniFi-Poller container appears to be working (logs below) and Prometheus shows the endpoint as being up (config also below). From Grafana, I can query and get a response for unifipoller_build_info using the Prometheus data source and the same Prometheus data source is providing unRaid stats that are working as expected.

last couple unPoller logs

2023/06/10 22:20:19 [INFO] UniFi Measurements Exported. Site: 1, Client: 38, UAP: 2, USG/UDM: 0, USW: 2, DPI Site/Client: 0/0, Desc: 172, Metric: 1849, Err: 0, 0s: 648, Req/Total: 68.4ms / 73.7ms
2023/06/10 22:20:49 [INFO] UniFi Measurements Exported. Site: 1, Client: 38, UAP: 2, USG/UDM: 0, USW: 2, DPI Site/Client: 0/0, Desc: 172, Metric: 1849, Err: 0, 0s: 646, Req/Total: 71.9ms / 77ms

prometheus config snippet

  - job_name: unraid_unifi
    scrape_interval: 30s
    static_configs:
      - targets: ['https://unifi.domain.tld']  # Unifi container
    metrics_path: /scrape
    relabel_configs:
     - source_labels: [__address__]
       target_label: __param_target
     - source_labels: [__param_target]
       target_label: instance
     - target_label: __address__
       replacement: '192.168.1.100:9031'
@d-mcknight
Copy link
Author

Figured it out after seeing #420 . Replacing unpoller with unifipoller in the panels resolves the issue

@dutts
Copy link

dutts commented Jun 19, 2023

Can we get the original source at grafana.com updated?

@flikamasha89
Copy link

flikamasha89 commented Jul 12, 2023

Can we get the dashboards updated please?

@platinummonkey platinummonkey added the dashboards Dashboard updates needed label Aug 9, 2023
@mvnixon
Copy link

mvnixon commented Sep 21, 2023

This didn't work for me, can't find references to 'unpoller' or, as another thread said, anything with 'unifi_'. Any ideas?

@tgerring
Copy link

I was able to fix "No Data" on the "UniFi-Poller: USG Insights" Grafana Dashboard by modifying the Dashboard Variables. In my case, I have a Ubiquiti UXG-Pro.

Each of the variables was updated so that the type includes "uxg" like so: type=~"udm|usg|ugw|uxg"

Copy link

github-actions bot commented May 9, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the stale This issue/PR was marked as stale for inactivity automatically. label May 9, 2024
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboards Dashboard updates needed stale This issue/PR was marked as stale for inactivity automatically.
Projects
None yet
Development

No branches or pull requests

6 participants