Use prometheus snmp_exporter
to get metrics via snmp.
This dashboard represents the main metrics provided by a series of WRAP100 devices and more metrics from the common MIB.
Install snmp_exporter
and configure it with the snmp.yml
. Then install and import dashboard
.
Example config:
- job_name: "airmax"
scrape_interval: 30s
scrape_timeout: 29s
static_configs:
- targets: ["172.20.10.40"] #target
labels:
id: "WRAP-1"
- targets: ["172.20.10.45"] #target
labels:
id: "WRAP-2"
metrics_path: /snmp
params:
module: [ubiquiti_airmax]
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: 127.0.0.1:9115
You can view the resulting metrics using the following command (example):
curl http://172.20.10.12:9115/snmp?module=ubiquiti_airmax&target=172.20.10.40
- ubntStaName
- ubntWlStatSsid
- ubntRadioMode
- ubntWlStatSecurity
- ifPhysAddress
- ubntRadioDistance
- ubntWlStatChanWidth
- ubntRadioFreq
- ubntStaCcq
- ubntRadioTxPower
- ubntWlStatSignal
- ubntRadioRssi
- ubntStaNoiseFloor
- ubntStaLastIp
- ifOperStatus
- ifInOctets
- ifOutOctets
- ifInErrors
- ubntWlStatRxRate
- ubntWlStatTxRate
- snmp_scrape_pdus_returned
General information for WRAP100
States:
- Destination states (WDS)
- CURRENT PORT SUMMARY
- Destination states (users)
TTX for WRAP100:
- TX power
- signal strenght
- RSSI signal
- Noise floor
Trafic information
- More about snmp_exporter: https://github.com/prometheus/snmp_exporter
- MIB browser: http://oidref.com
- MIB WRAP100 browser: https://bestmonitoringtools.com/mibdb/mibdb_search.php?mib=UBNT-AirMAX-MIB