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
2 changed files with 6 additions and 4 deletions
Showing only changes of commit 61b1e0cc07 - Show all commits

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>
Erich Blume 2026-03-16 14:50:35 -07:00

View file

@ -22,7 +22,7 @@ spec:
- containerPort: 9130
name: metrics
env:
- name: UP_UNIFI_DEFAULT_API_KEY
- name: UP_UNIFI_REMOTE_API_KEY
valueFrom:
secretKeyRef:
name: unpoller-unifi

View file

@ -7,10 +7,12 @@
[unifi]
dynamic = false
# Remote API mode — auto-discovers consoles via api.ui.com
remote = true
# API key comes from environment variable: UP_UNIFI_REMOTE_API_KEY
[unifi.defaults]
# API key comes from environment variable: UP_UNIFI_DEFAULT_API_KEY
url = "https://192.168.1.1"
verify_ssl = false
verify_ssl = true
save_sites = true
save_dpi = false
save_events = false