mirror of
https://github.com/unpoller/unpoller.git
synced 2026-04-05 08:54:00 -04:00
* feat(clients): add MIMO spatial stream metrics for WiFi clients Add tx_nss, rx_nss (spatial stream count) and tx_mcs, rx_mcs (MCS index) metrics for WiFi clients, sourced from UniFi controller API fields. These fields are only populated for wireless clients. - promunifi: adds unifi_client_radio_transmit_spatial_streams, unifi_client_radio_receive_spatial_streams, unifi_client_radio_transmit_mcs_index, and unifi_client_radio_receive_mcs_index gauges - influxunifi: adds tx_nss, rx_nss, tx_mcs, rx_mcs fields to the clients measurement - go.mod: replace directive to use local unifi library with new fields Closes #535 Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> * fix: use published unifi commit for MIMO fields instead of local replace Remove the local path replace directive for github.com/unpoller/unifi/v5 and pin to the published pseudo-version at commit f363f61cdbe3a863db5fb3176ef1c0fc282c5674 which contains the RxMcs, RxNSS, TxMcs, TxNSS MIMO fields. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
UnPoller InfluxDB Plugin
Collects UniFi data from a UniFi controller using the API.
This is meant for InfluxDB users 1.8+ and 2.x series.
Configuration
InfluxDB 1.8+, 2.x
Note the use of auth_token to enable this mode.
influxdb:
disable: false
# How often to poll UniFi and report to Datadog.
interval: "2m"
# the influxdb url to post data
url: http://somehost:1234
# the secret auth token, this enables InfluxDB 1.8, 2.x compatibility.
auth_token: somesecret
# the influxdb org
org: my-org
# the influxdb bucket
bucket: my-bucket
# how many points to batch write per flush.
batch_size: 20
InfluxDB pre 1.8
Note the lack of auth_token to enable this mode.
influxdb:
disable: false
# How often to poll UniFi and report to Datadog.
interval: "2m"
# the influxdb url to post data
url: http://somehost:1234
# the database
db: mydb
# the influxdb api user
user: unifi
# the influxdb api password
pass: supersecret