Hi all,
I have Grafana, Prometheus and Unifi-Poller installed in a Portainer Stack on my NAS.
I have another Stack containing Unifi Network Application (UNA) that contains just one AP.
I’m trying to get the data from the UNA into Grafana and that seems to be happening as I can run queries via Explore and I’m getting results.
However, I have tried all the Unifi/Prometheus Dashboards at the Grafana Website and none of them show any data at all.
Are these Dashboards incompatible with UNA, or should I be doing this another way?
TIA
EDIT: Some Unifi-Poller log data:
2025/04/22 15:47:59.347930 updateweb.go:223: [DEBUG] Collecting controller data: https://192.168.10.2:8443 ()
2025/04/22 15:47:59.347989 updateweb.go:223: [DEBUG] Polling controller: https://192.168.10.2:8443 ()
2025/04/22 15:47:59.348090 updateweb.go:223: [DEBUG] Requesting https://192.168.10.2:8443/api/stat/sites, with params: false, cookies: 1
2025/04/22 15:47:59.353691 updateweb.go:223: [DEBUG] Requested https://192.168.10.2:8443/api/stat/sites: elapsed 6ms, returned 766 bytes
2025/04/22 15:47:59.353957 updateweb.go:223: [DEBUG] Found 1 site(s): default
2025/04/22 15:47:59.354131 updateweb.go:223: [DEBUG] Polling Controller, retreiving UniFi Clients, site Hines House (default)
2025/04/22 15:47:59.354202 updateweb.go:223: [DEBUG] Requesting https://192.168.10.2:8443/api/s/default/stat/sta, with params: false, cookies: 1
2025/04/22 15:47:59.357627 updateweb.go:223: [DEBUG] Requested https://192.168.10.2:8443/api/s/default/stat/sta: elapsed 3ms, returned 19411 bytes
2025/04/22 15:47:59.359836 updateweb.go:223: [DEBUG] Requesting https://192.168.10.2:8443/api/s/default/stat/device, with params: false, cookies: 1
2025/04/22 15:47:59.364472 updateweb.go:223: [DEBUG] Requested https://192.168.10.2:8443/api/s/default/stat/device: elapsed 5ms, returned 16390 bytes
2025/04/22 15:47:59.365740 updateweb.go:223: [DEBUG] Unmarshalling Device Type: uap, Model: UAPL6, site Hines House (default)
2025/04/22 15:47:59.372483 logger.go:19: [INFO] UniFi Measurements Exported. Site: 1, Client: 12, UAP: 1, USG/UDM: 0, USW: 0, DPI Site/Client: 0/0, Desc: 132, Metric: 438, Err: 0, 0s: 159, Req/Total: 20.1ms / 24.5ms
2025/04/22 15:48:14.347550 updateweb.go:223: [DEBUG] Collecting controller data: https://192.168.10.2:8443 ()
2025/04/22 15:48:14.347573 updateweb.go:223: [DEBUG] Polling controller: https://192.168.10.2:8443 ()
2025/04/22 15:48:14.347611 updateweb.go:223: [DEBUG] Requesting https://192.168.10.2:8443/api/stat/sites, with params: false, cookies: 1
2025/04/22 15:48:14.349974 updateweb.go:223: [DEBUG] Requested https://192.168.10.2:8443/api/stat/sites: elapsed 2ms, returned 766 bytes
2025/04/22 15:48:14.350067 updateweb.go:223: [DEBUG] Found 1 site(s): default
2025/04/22 15:48:14.350077 updateweb.go:223: [DEBUG] Polling Controller, retreiving UniFi Clients, site Hines House (default)
2025/04/22 15:48:14.350119 updateweb.go:223: [DEBUG] Requesting https://192.168.10.2:8443/api/s/default/stat/sta, with params: false, cookies: 1
2025/04/22 15:48:14.351327 updateweb.go:223: [DEBUG] Requested https://192.168.10.2:8443/api/s/default/stat/sta: elapsed 1ms, returned 19380 bytes
2025/04/22 15:48:14.351932 updateweb.go:223: [DEBUG] Requesting https://192.168.10.2:8443/api/s/default/stat/device, with params: false, cookies: 1
2025/04/22 15:48:14.353370 updateweb.go:223: [DEBUG] Requested https://192.168.10.2:8443/api/s/default/stat/device: elapsed 1ms, returned 16368 bytes
2025/04/22 15:48:14.353777 updateweb.go:223: [DEBUG] Unmarshalling Device Type: uap, Model: UAPL6, site Hines House (default)
2025/04/22 15:48:14.356020 logger.go:19: [INFO] UniFi Measurements Exported. Site: 1, Client: 12, UAP: 1, USG/UDM: 0, USW: 0, DPI Site/Client: 0/0, Desc: 132, Metric: 438, Err: 0, 0s: 162, Req/Total: 7ms / 8.4ms