Ubiquiti Cloud Gateway Ultra (UCG-Ultra) Bandwidth Monitoring

Have you upgraded your software since July 2024? That version added SNMP support.

https://community.ui.com/releases/UniFi-OS-Cloud-Gateways-4-0-6/6dfaa8b2-eb9b-4e85-899a-fc04af7d15b7

I do can confirm that my devices are up to date to the latest versions. So you suggest using SMTP rather then the Unifi application itself?

It looked like you were responding to my post, and I’m using SNMP.

(SMTP is an email protocol.)

1 Like

I tried your suggested OID objects on my UCG-Ultra but it seems to be not the correct OID for the WAN Port. You might have suggestions to find the correct one?

Cheers

Hi - I have a Unifi Cloud Gateway, and have set up the Integration with full network privileges. I want to be able to monitor bandwidth, however the instructions I read say the setting to enable this is on page 3 of configuration, but after hitting submit I am not getting a page 2 or 3, I just get “Success - options successfully saved” Apologies if I am missing something simple here - appreciate if someone can point me the right way.

How did you monitored this? I’m on a macOS device and there is not really a good MIB browser with live capturing

The tool I used before seems to have been compromised and since it’s a network-related tool, alternative downloads might contain malware. I’m not going to mention the tool’s name. The vendor’s website seems hacked and abandoned. There doesn’t seem readibly (and reliable) free MIB browsers with charting abilities. You could always try a free trial.

A simple alternative is to use any SNMP walk utility (command line will do) to take a snapshot of the OIDs for specific network interfaces before and after running a speed test.

As a first choice, you can pretty accurately establish which ethernet port (OID) to pick before running the speed test.

Figured out my answer by checking the code - you need home assistant advanced mode switched on to see the multi page configuration options including enabling bandwidth sensors.

I already had been in Advanced Mode but where not able to see a multi page config.

just to be clear - should I see my UCG (or any of my other unifi devices for that matter) on this list?

because I don’t. I’ve looked for the name, IP and MAC of my UCG’s LAN interface and it doesn’t appear, so I can’t configure it to get the bandwidth stats across the whole device. Am I missing something dumb here, or should that device be showing up?

Realised I can just skip through those first couple of modals :man_facepalming:

So im trying your stuff @parautenbach , ive done a snmp walk on my UCG-Fiber

Blockquote
iso.3.6.1.2.1.2.2.1.2.1 = STRING: “lo”
iso.3.6.1.2.1.2.2.1.2.2 = STRING: “dummy0”
iso.3.6.1.2.1.2.2.1.2.3 = STRING: “miireg”
iso.3.6.1.2.1.2.2.1.2.4 = STRING: “switch0”
iso.3.6.1.2.1.2.2.1.2.5 = STRING: “eth6”
iso.3.6.1.2.1.2.2.1.2.6 = STRING: “eth5”
iso.3.6.1.2.1.2.2.1.2.7 = STRING: “bond0”
iso.3.6.1.2.1.2.2.1.2.8 = STRING: “ifb0”
iso.3.6.1.2.1.2.2.1.2.9 = STRING: “ifb1”
iso.3.6.1.2.1.2.2.1.2.10 = STRING: “eth0”
iso.3.6.1.2.1.2.2.1.2.11 = STRING: “eth1”
iso.3.6.1.2.1.2.2.1.2.12 = STRING: “eth2”
iso.3.6.1.2.1.2.2.1.2.13 = STRING: “eth3”
iso.3.6.1.2.1.2.2.1.2.14 = STRING: “eth4”
iso.3.6.1.2.1.2.2.1.2.15 = STRING: “eth4.6”
iso.3.6.1.2.1.2.2.1.2.16 = STRING: “eth5.2”
iso.3.6.1.2.1.2.2.1.2.17 = STRING: “eth5.3”
iso.3.6.1.2.1.2.2.1.2.18 = STRING: “eth5.4”
iso.3.6.1.2.1.2.2.1.2.19 = STRING: “eth5.5”
iso.3.6.1.2.1.2.2.1.2.20 = STRING: “switch0.1”
iso.3.6.1.2.1.2.2.1.2.21 = STRING: “switch0.2”
iso.3.6.1.2.1.2.2.1.2.22 = STRING: “switch0.3”
iso.3.6.1.2.1.2.2.1.2.23 = STRING: “switch0.4”
iso.3.6.1.2.1.2.2.1.2.24 = STRING: “switch0.5”
iso.3.6.1.2.1.2.2.1.2.25 = STRING: “br0”
iso.3.6.1.2.1.2.2.1.2.26 = STRING: “br2”
iso.3.6.1.2.1.2.2.1.2.27 = STRING: “br3”
iso.3.6.1.2.1.2.2.1.2.28 = STRING: “br4”
iso.3.6.1.2.1.2.2.1.2.29 = STRING: “br5”
iso.3.6.1.2.1.2.2.1.2.30 = STRING: “wgsrv1”
iso.3.6.1.2.1.2.2.1.2.31 = STRING: “iptv”
iso.3.6.1.2.1.2.2.1.2.32 = STRING: “ppp0”
iso.3.6.1.2.1.2.2.1.2.34 = STRING: “tun1”
iso.3.6.1.2.1.2.2.1.2.36 = STRING: “wgsts1001”
iso.3.6.1.2.1.2.2.1.2.37 = STRING: “wgsts1002”

My ISP comes in on eth4 with vlan 6 and pppoe (port 5)

So ive tried in and out octets from eth4, eth4.6 and even ppp0
None of them seem to work with your coding? (getting no change in graph or anything)

Am i missing something?

Try an SNMP tool to check if the values are changing while doing a speed test or a modest download of sorts. We first need to confirm that you have valid data and for which OID.

It seems that ppp works. ill circle back :smiley:

Edit:

it does

1 Like