We are trying to locate the OID for Wireless client count as seen in the screenshot below, it’s really important we have a way of retrieving this information for these routers, please advise if it’s possible and if not how do we make a request? I’m retrieving lots of information via SNMP, but this is key.
I’m sorry to inform you that there is no OID available for the monitoring purpose you need. If you used Hotspot, you could track it using the marked OID below:
I’m sorry to inform you, but this information can be monitored. You can find the full list of OIDs that can be monitored for the RUT956 here: RUT956 SNMP Variables List.
You might also try using the RUTOS API, specifically the call to /wireless/interfaces/status. You can find more details at Teltonika Networks Developers. Please note that some manipulation will be required, as this call returns data on connected clients, not just their number.
Sorry, you won’t be able to track the RX and TX of the wireless interface directly. Another approach you can take is to assign a LAN network to the wireless interface. This way, you’ll be able to monitor its RX and TX data.
I used “br-lan” as an example. If you want to monitor only the Rx and Tx of devices connected to WiFi, you’ll need to set up a new LAN configuration. The name you choose is up to you. In your case, “guest” would be appropriate.
Thanks the reason I ask is as you see we use “guest” but when I look in /api/wireless/interfaces/status via the API I see no ifName called “guest” only “wlan0” and “wlan0-1”.
Am I in the wrong area/path to see this ifName info for Rx/Tx please?
The LAN name should match the wireless network name. For example, if the wireless network is assigned to LAN “guest,” then the name should also be “guest.”
The API request should be sent to this address: http://ipaddress/api/interfaces/status. As mentioned, you can measure Rx and Tx for the wireless interface directly, but you need to do this via the LAN network interface to which the specific WLAN is assigned.
Thank you. It’s a remote device and I don’t have a client connected yet so I can’t check the next part, but under what api path will the client information appear please?