I was surprised that the Ubiquity Dream Machine Pro doesn’t have SNMP available. I recall that there was an option to enable it in older versions of their software, but the current 3.0.20 version doesn’t even have an option to enable it (and I don’t think that it worked correctly in previous versions).
Fortunately, its basically just a Debian machine, so you can enable it yourself! These are the steps that I took to enable snmpd so that I could add it to my network monitoring system:
First, update the respositories and install the
apt update apt install -y snmp snmpd
Then, you have to edit the snmpd.conf file in
/etc/snmp/snmpd.conf and change these two lines from the View section. This change makes it so that instead of providing information only about the host system, it provides information about all of the attached interfaces as well.
view systemonly included .22.214.171.124.2.1.1 view systemonly included .126.96.36.199.188.8.131.52
To these two lines (note you remove the final .1 from the end of each).
view systemonly included .184.108.40.206.2.1 view systemonly included .220.127.116.11.18.104.22.168.1
Also, you’ll probably want to configure the
snmpd deamon so that it will be available on a local network interface, so change the
agentaddress line to this (obviously, with your box’s IP address if it isn’t
Then restart the snmpd deamon
service snmpd restart
You can test that it is working by running
snmpwalk with a command like this:
snmpwalk -Os -c public -v 2c 192.168.0.1
Which should output hundreds of lines of stuff that start out similar to this:
brandon@auvik:~$ snmpwalk -Os -c public -v 2c 192.168.0.1 iso.22.214.171.124.126.96.36.199 = STRING: "Linux dream-machine-pro 4.19.152-ui-alpine #4.19.152 SMP Thu Apr 6 21:41:48 CST 2023 aarch64" iso.188.8.131.52.184.108.40.206 = OID: iso.220.127.116.11.1.8072.3.2.10 iso.18.104.22.168.22.214.171.124 = Timeticks: (377603) 1:02:56.03 iso.126.96.36.199.188.8.131.52 = STRING: "Me
" iso.184.108.40.206.220.127.116.11 = STRING: "dream-machine-pro" iso.18.104.22.168.22.214.171.124 = STRING: "mycommunity" iso.126.96.36.199.188.8.131.52 = INTEGER: 72 iso.184.108.40.206.220.127.116.11 = Timeticks: (0) 0:00:00.00 iso.18.104.22.168.22.214.171.124.2.1 = OID: iso.126.96.36.199.188.8.131.52.1 iso.184.108.40.206.220.127.116.11.2.2 = OID: iso.18.104.22.168.22.214.171.124.1 iso.126.96.36.199.188.8.131.52.2.3 = OID: iso.184.108.40.206.220.127.116.11.1 iso.18.104.22.168.22.214.171.124.2.4 = OID: iso.126.96.36.199.3.1 iso.188.8.131.52.184.108.40.206.2.5 = OID: iso.220.127.116.11.18.104.22.168.1 iso.22.214.171.124.126.96.36.199.2.6 = OID: iso.188.8.131.52.1.49 iso.184.108.40.206.220.127.116.11.2.7 = OID: iso.18.104.22.168.1.50 iso.22.214.171.124.126.96.36.199.2.8 = OID: iso.188.8.131.52.1.4 iso.184.108.40.206.220.127.116.11.2.9 = OID: iso.18.104.22.168.22.214.171.124.3 iso.126.96.36.199.188.8.131.52.2.10 = OID: iso.184.108.40.206.1.92 iso.220.127.116.11.18.104.22.168.3.1 = STRING: "The SNMP Management Architecture MIB." iso.22.214.171.124.126.96.36.199.3.2 = STRING: "The MIB for Message Processing and Dispatching."
If that works, congratulations! You’ve got snmpd installed on your Ubiquity Dream Machine Pro. Your network monitoring system may take a little time for it to notice that SNMP statistics are now available on the device.
Note that upgrading the device will probably lose these configs and they’d have to be re-done.