Add UnPoller for UniFi network metrics #298

Merged
eblume merged 8 commits from feature/unpoller into main 2026-03-16 15:52:45 -07:00

8 commits

Author SHA1 Message Date
fcabbddbb8 Comment out DPI dashboard with note instead of removing
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 15:49:12 -07:00
a39b9a4bf6 Fix UnPoller dashboard datasource UIDs, drop DPI dashboard
Upstream dashboards hardcode a different Prometheus datasource UID.
Patch them at download time to match our 'prometheus' UID. Remove the
Client DPI dashboard since DPI is not enabled on the UX7.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 15:48:24 -07:00
0631035a43 Add UnPoller Grafana dashboards via initcontainer
Fetches 6 Prometheus dashboards from the forge-mirrored
unpoller/dashboards repo at pod startup, matching the
TeslaMate dashboard pattern.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 15:43:55 -07:00
6916c5b5ee Switch unpoller back to local API key auth
The UX7's local Integration API key works against both the new
Integration API and the classic controller API. Remote mode not needed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 15:27:45 -07:00
61b1e0cc07 Switch unpoller to remote API mode via api.ui.com
Local API key auth doesn't work with the UX7's new Integration API.
Use the remote Site Manager API instead, which auto-discovers consoles.
Events disabled due to upstream bug (unpoller/unpoller#966).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 14:50:35 -07:00
74c8ef7209 Switch unpoller to API key auth from 1Password item 'unpoller'
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 14:42:03 -07:00
8a8bfffdb1 Point unpoller kustomization at built container tag
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 14:00:56 -07:00
6b0005df1e Add UnPoller deployment for UniFi network metrics
Deploy UnPoller as a k8s service on indri to export UniFi controller
metrics to Prometheus. Custom-built container from forge mirror, with
credentials pulled from 1Password via external-secrets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 13:56:24 -07:00