Add UnPoller for UniFi network metrics #298
2 changed files with 6 additions and 4 deletions
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>
commit
61b1e0cc07
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue