I wrote a template for Ubiquiti PowerBeam 5AC for Zabbix and explored several basic SNMP OIDs for which you need to draw graphics.
OID tested for devices that are configured in Station mode and with firmware v7.1.4 (XC).
You can check the OID from a Linux command, for example:
snmpwalk -v 1 -c public 192.168.1.20 .1
First of all, I looked at what interfaces there are (if you add VLAN, etc. on the device, their number can be shifted):
snmpwalk -v 1 -c public 192.168.1.20 ifDescr
The next MIBs can read incoming and outgoing traffic (I have LAN eth0 under index 4, WLAN ath0 under 10), for example for LAN traffic:
Average CPU usage per 1min / 5min / 15min:
TX and RX AP in kilobytes can be found by the following OID:
OID noise can be found by:
Signal strength: 22.214.171.124.4.1.41126.96.36.199.1.5.1
Free memory: 188.8.131.52.4.1.10002.1.1.1.1.2.0
Total Memory: 184.108.40.206.4.1.10002.1.1.1.1.1.0
MAC address of the access point to which the device is connected: 220.127.116.11.4.1.4118.104.22.168.1.4.1
The IP address of the access point to which the device is connected: 22.214.171.124.4.1.41126.96.36.199.188.8.131.52.184.108.40.206.159
Antenna type: 220.127.116.11.4.1.4118.104.22.168.1.9.1
SNMP OID and MIB for interfaces
Suppose we need to limit the speed on the client antenna.
Accordingly, it is in the station mode and is connected to the access point.
For restriction, we go to the web-based antenna management interface, open the Network tab, change the Configuration Mode: to Advanced, which will bring more parameters that you can configure .
At the very bottom, click on Traffic Shaping, check the Enable checkbox and specify the desired speed limit for WLAN0 or LAN0.
For example, you need to limit the reception speed to 5Mb/s and send up to 512Kbps, for reliability, we’ll specify a limit for both network interfaces, where Ingress is specified for WLAN0 5120, and for LAN0 512, respectively, for Egress, vice versa, WLAN0 – 512, and LAN0 – 5120, burst is left unchanged, that is, 0.
To apply the changes click below Change and then above Apply, after which the antenna configuration will reboot.
On the access point, alas, you can not limit the speed for each client, if you do the above settings (in reverse order), then the overall speed for all clients will be limited. In this case, you can cut the speed, for example billing, by turning on the Advanced tab Client Isolation in the Advanced tab so that clients do not see each other on the network and do not exchange traffic.
Let’s say we want to configure the ACL (access control list) on the Ubiquiti access point.
In the web interface of the device, open the tab “Wireless“.
At the very bottom opposite “MAC ACL:” tick the “Enable“.
And choose “Policy:“, on “Allow” (means that there will be devices on the list that are allowed to connect, all who are not registered – can not) or “Deny” (in the list of devices that can not be connected, and everyone else can).
By clicking on the button “ACL…“, in the opened window to add the device, in the first field we indicate its MAC, in the second one any desired description and click “Add“, later “Save“.
And the last stage is at the top click the button “Apply“, after which the changes are saved and applied without loss of communication with the device (without rebooting).