_BaQs
(Pierre )
November 29, 2021, 8:08pm
1
Hello,
we can monitor RX/TX from each device behind a unifi controller.
Unfortunately, the integration does not provide global bandwidth monitoring (that we can find easily in the application).
Possible to add it ?
Mikefila
(Mike Fila)
November 29, 2021, 8:21pm
2
For now it can be added via snmp.
I got this working by enabling SNMP and adding these sensors. internet_in_mbps and internet_out_mbps you can put in lovelace
- platform: snmp
name: "USG WAN in"
host: 192.168.1.1
baseoid: 1.3.6.1.2.1.31.1.1.1.6.2
community: "public"
version: "2c"
scan_interval: 10
- platform: snmp
name: "USG WAN out"
host: 192.168.1.1
baseoid: 1.3.6.1.2.1.31.1.1.1.10.2
community: "public"
version: "2c"
scan_interval: 10
- platform: statistics
name: "USG WAN in Stats"
entity_id: sen…
btw you should vote for your own feature request.
_BaQs
(Pierre )
November 29, 2021, 9:15pm
3
Have you tried? SNMP option enables it on AP, not on the UDM Pro itself
Mikefila
(Mike Fila)
November 29, 2021, 10:50pm
4
Sorry my mistake, I actually get them from the UPnP intergration. Enable it on the udm pro and add it from the integrations page.
tom_l
November 29, 2021, 11:16pm
5
UDM Pro does not have SNMP. (Not very “pro”). The Ubiquiti forums have many complaints about this.
skymashi
(Markus)
February 9, 2022, 6:34pm
6
you can fairly easy install it via ssh though
tom_l
February 9, 2022, 11:05pm
7
Pretty ridiculous calling it “Pro” without it though.
parautenbach
(Pieter Rautenbach)
December 31, 2023, 7:05pm
8
I’ve run into this issue after recently setting up my new Unifi equipment.
Would you mind explaining what needs to be installed? I’m not familiar with how the OS on these devices work.
As an alternative, SNMP has been rolled out for devices that didn’t support it before.
In my case, the WAN port is eth4. This is on a UDR. I simply monitored and graphed each eth port while doing a speed test.
YMMV
- platform: snmp
name: snmp_wan_in
host: 192.168.0.1
community: !secret router_snmp_community
version: 2c
baseoid: 1.3.6.1.2.1.2.2.1.10.13 # ifInOctets.13 / eth4 (interface 12, zero-indexed)
unit_of_measurement: octets
- platform: snmp
name: snmp_wan_out
host: 192.168.0.1
community: !secret router_snmp_community
version: 2…
ciddi89
(Christian)
July 12, 2024, 8:41pm
10
You can also monitor the bandwidth for each port. Here in my case the port 9 is the WAN port. You have to activate the entities by yourself.