SNMP OID for Qty of Wireless Clients Connected

Hey guys, does anybody know how I can get the amount of wireless clients connected using SNMP ?
I have trolled through the SNMP walk and can’t find anything that relates to this value.
I want to be able to graph the amount of clients connected to an AP every 5 minutes using MRTG.

Any suggestions would be appreciated.

Thanks
Paul

Paul, currently such option is not available,
as you have two sections for SNMP monitor,

‘interface wireless print oid’, that allows to monitor the following values,
tx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.2.4010 rx-rate=.1.3.6.1.4.1.14988.1.1.1.1.1.3.4010 strength=.1.3.6.1.4.1.14988.1.1.1.1.1.4.4010 ssid=.1.3.6.1.4.1.14988.1.1.1.1.1.5.4010 bssid=.1.3.6.1.4.1.14988.1.1.1.1.1.6.4010 frequency=.1.3.6.1.4.1.14988.1.1.1.1.1.7.4010

‘interface wireless registration-table print oid’,
[sergejs@HotSpot] > in wireless registration-table print oid
0 strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.11.107.77.4.42.2
tx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.4.0.11.107.77.4.42.2
rx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.5.0.11.107.77.4.42.2
tx-packets=.1.3.6.1.4.1.14988.1.1.1.2.1.6.0.11.107.77.4.42.2
rx-packets=.1.3.6.1.4.1.14988.1.1.1.2.1.7.0.11.107.77.4.42.2
tx-rate=.1.3.6.1.4.1.14988.1.1.1.2.1.8.0.11.107.77.4.42.2
rx-rate=.1.3.6.1.4.1.14988.1.1.1.2.1.9.0.11.107.77.4.42.2

Total number of client is not available over snmp.
‘interface wireless registration-table print count-only interface=name_of_the_ap’

Hi,

We use this; and work fine

[array_size(oid_column(“iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWlRtabStrength”))] Wireless Clients

Regards,

Fran.

what do you enter that into? Dude? MRTG?

thanks

Mate, you are a legend, this works a treat thanks !

Regards
Paul

pjulian, can you answer my question:


what do you enter that:

([array_size(oid_column(“iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWlRtabStrength”))] Wireless Clients)

into? Dude? MRTG?

thanks

Hello “dinfotec”

This is great, this array works great in Dude, just one question, I want to graph the same in Dude, I tried to create same array as function into a new graph, but unfortunately is not graphing, can you tell me how to graph the same array in Dude

Really appreciated your help

Antonio

Here’s how you do this:

In dude, go to “Functions” and create a new function called: wireless_clients
under “Code” paste in the following:

array_size(oid_column("iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWlRtabStrength"))

click on Ok and go back to your network map
right click on one of your wireless devices and select “Appearance”
click on the “Label” box and paste the following:

[Device.Name]
[device_performance()][Device.ServicesDown][wireless_clients()] Wireless Clients

Click on Ok and see your handy work.

Here’s to graph it:
Right click on your network object and go to “Settings”
on the “Services” tab, add a new service
click on the 3 dots next to “Probe”
Fill out the following settings:

Name: wireless_probe
type: Function
Available: wireless_clients()
Error: if(wireless_clients(), “”, “”)
Value: wireless_clients()
Unit: Clients
rate: None

click on “ok” and select the wireless_probe as your probe
Hit Ok again and you should be graphing the number of wireless clients now.

Cheers

Edit: Added to the wiki: http://wiki.mikrotik.com/wiki/Number_of_Wireless_Clients

Thanks for that

can you help me on how to add TX & RX probe ? I would like to monitor tx rx rate on device without using link

Thanks

noamsheffi,

‘interface wireless registration-table print oid’,
[sergejs@HotSpot] > in wireless registration-table print oid
0 strength=.1.3.6.1.4.1.14988.1.1.1.2.1.3.0.11.107.77.4.42.2
tx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.4.0.11.107.77.4.42.2
rx-bytes=.1.3.6.1.4.1.14988.1.1.1.2.1.5.0.11.107.77.4.42.2
tx-packets=.1.3.6.1.4.1.14988.1.1.1.2.1.6.0.11.107.77.4.42.2
rx-packets=.1.3.6.1.4.1.14988.1.1.1.2.1.7.0.11.107.77.4.42.2
tx-rate=.1.3.6.1.4.1.14988.1.1.1.2.1.8.0.11.107.77.4.42.2
rx-rate=.1.3.6.1.4.1.14988.1.1.1.2.1.9.0.11.107.77.4.42.2

BTW, I never asked, but back when I added this all to the wiki, I think they were giving out free MT licenses and I never claimed one.

Any chance of picking one up still?

Thanks

Hi..

would you mind to print screen on that…

As I understand

iso.org.dod.internet.private.enterprises.mikrotik.mikrotikExperimentalModule.mtXRouterOs.mtxrWireless.mtxrWlRtabTable.mtxrWlRtabEntry.mtxrWlRtabStrength

Show signal strength, but I need Wirelles clients count.
How I can do this via SNMP ?


interface wireless registration-table print count-only

1.3.6.1.4.1.14988.1.1.5.1.1.1

1.3.6.1.4.1.14988.1.1.5.1.1.1

This is HotSpot active users ?

Hi…
sorry, not look into it carefully as rushing just now…

ya, this is for the Hotspot active user but not the registered user under wireless registration table…

The RouterOS V5.15 have such oid…

Hello, please advice.

Does Mikrotik RouterOS have an OID for total number of Wifi sessions/users/clients since power on?

Hello, please advice. Does Router OS have OID for total number of users/sessions/clients since power on?

Just to add: I’ve raised ticket #2014051566000304 asking for more OIDs for the wireless registration table.

Specifically I asked for mac-address (so I can see WHO is connected!) and tx/rx ccq.

It wouldn’t hurt for other people to ask too!