OID for Wireless Client count - RUT956

Hello,

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.

Or if not the Rx and Tx for the 2.4GHz WiFi.

Thanks

Hello,

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:

Best regards,

We only use the 2.4GHz, this is a huge shame. Any plans to add it?

Do you know the OID for the 2.4GHz Rx and Tx, maybe I can track activity that way instead, not the best, but something?

Hello,

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.

Best regards.

This might just work thanks. Do you know where I can locate the Rx and Tx for the WiFi in the API?

I can only see:

"bss_transition_response_rx":0,"bss_transition_query_rx":0

Hello,

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.

2024-07-02-12-18-29-RUTX50 - Teltonika Networks

Best regards,

Thanks, monitor via API or SNMP?

Hi,

It can be monitored via API.

Best regards,

Do you know what it will be called? (Rx/Tx).

Hello,

It should be under “ifname”:

Best regards,

What API path is that from 9ifName), it looks like the SSID we need Rt/Tx from is on the Guest interface:

image

Hello,

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.

Best regards,

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?

Hello,

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.”

image

Best regards,

Not seeing that are you also using this?

  curl -X GET "http://ipaddress/api/wireless/interfaces/status" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer 12345678987654tyjhgf"

Hi Marijus,

This what I’m struggling to locate via the API:

Hello,

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.

Best regards,

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?

This topic was automatically closed after 15 days. New replies are no longer allowed.