How to get traffic information from Ethernet port of AP via SNMP. And How to get RSSI levels of connected clients via SNMP.

  • 3
  • Question
  • Updated 3 years ago
  • Answered
Hi all,
My client actively uses SNMP to monitor and collect needed information from standalone APs.
He wants to get sent and received traffic information from Ethernet port on AP via SNMP.
Second question how to get RSSI levels of connected client (dedicated for 2.4 and 5Ghc clients) via SNMP?
Which OIDs should be used for it?

Regards,
Dmitry
Photo of Dmitry Oskin

Dmitry Oskin

  • 1 Post
  • 0 Reply Likes

Posted 3 years ago

  • 3
Photo of Bill Burns

Bill Burns, AlphaDog

  • 203 Posts
  • 38 Reply Likes
Hey Dimitry:
This is a frequently asked question w/ no reply? That's odd.
I think these answers are in the ruckus documentation.

To answer your second question first:
Try this:
https://github.com/bot779/getruckus
It's a script that should show you what clients are connected to each of your APs.
If you invoke it like this:
./getruckus --client 84:51:81:A0:8E:31 --controller 192.168.1.99
Where the "client" is the mac address of a wifi client and is the IP address of your controller, you should get all the per-client SNMP data that's described in the docs.

Unfortunately, the "RSSI" field does not contain "RSSI" data.
Instead, what it contains is signal-to-noise ratio data, which can be useful and hopefully works for you but doesn't solve all problems.

This is especially a problem if geo-location is what you're after.
You should complain to your ruckus tech-support guy about that.
Ask to file a feature request. They'll probably tell you they're working on geo-location stuff.
(last I checked, it was advertized on their home-page but not actually available)

To answer your first question:
Try this:
https://support.ruckuswireless.com/do...
the Ruckus Wireless ZoneDirector SNMP Reference Guide should contain the info you're looking for.

um... oops? You don't have a controller?

OK. Maybe *this* is the link / document for you:
https://support.ruckuswireless.com/do...

and..
Maybe you can substitue the IP of your AP for the controller_IP in the script above.
I don't know if that will work.
Let me know.
Photo of Bill Burns

Bill Burns, AlphaDog

  • 203 Posts
  • 38 Reply Likes
Hey Dimitry:

I haven't slogged through this "ZoneFlex Access Point SNMP Reference Guide" yet:
https://support.ruckuswireless.com/do...

But I did spend *some* time on that ZoneDirector SNMP Guide.
I don't know if the info is identical. (hopefully similar)

If those docs *are* identical then this (below) *may* help:
Please note: These are some old notes of mine that were made in a rush.
I reserve the right to be wrong about any of the below info.
If you're concerned about it you should verify everything against the docs and against your own experience.

-Bill

wlan table
.1.3.6.1.4.1.25053.1.2.2.1.1.1.1.1

1 SSID
2 DESCRIPTION
3 ENCRYPTION
4 ENCRYPTIONMETHOD
7 VLAN

apdatatable
.1.3.6.1.4.1.25053.1.2.2.1.1.2.1.1

1 MAC
2 DESCRIPTION
3 ?? usually 1
4 MODEL
5 ??
6 uptime? (in Timeticks)
7 FIRMWAREREV
8 ?? HARDWAREREV
10 IPADDRESS
15 CLIENTCOUNT2.4?
16 CLIENTCOUNT5G?
29 ???
44 date string (Accepted?)
45 datestring
46 datestring
100 netmask
101 gateway
105 ?? 143.48.42.49, 4.2.2.1, 143.48.120.2, 8.8.8.8, 143.48.130.2 DNS?

apchannel
.1.3.6.1.4.1.25053.1.2.2.1.1.2.2.1

1 BSSIDMAC
2 RADIO?
3 SSIDINDEX?
4 CHANNEL
8 ?? usually 1, sometime 0 or 9
9 ?? integers ranging 0 to 68
21 ?? integers ranging 0 to 282
40 ?? gauge32 range 0 tp 69

SSID table

.1.3.6.1.4.1.25053.1.2.2.1.1.2.3.1

1 SSIDMAC
2 BSSIDMAC
3 SSIDNAME

LLDPINFO?
.1.3.6.1.4.1.25053.1.2.2.1.1.2.4.1

1 MAC BSSID?
2 PORT? INDEX? integer range 1 to 153
3 INTERFACENAME (eth0-4,wifi0-1)
4 ?? integer (0,6,71
5 MTU
6 SPEED (10,100,1000,Auto)
7 interfaceMAC
8 ?? integer range 0-2
9 ?? intefer range 0-2
21 INTERFACENAME

.1.3.6.1.4.1.25053.1.2.2.1.1.2.8.1

1 BSSIDMAC
2 WIREDPORTNUM? integer range 0-4
5 INTERFACENAME (eth0-4)
7 UPLINK?? integer range 1-2
8 ?? integer range 1-2
9 LINKSPEED integer range 0-1000
11 INTERFACEDESC (LAN1-4, "POE IN, LAN5/UPLINK", etc)

client table

.1.3.6.1.4.1.25053.1.2.2.1.1.3.1.1

1 CLIENTMAC
2 BSSIDMAC
3 SSIDMAC
4 SSIDNAME
6 ?? integer range 2-4
7 CHANNEL
8 CLIENTIP
9 ?? integer range 0 - 58
15 CONNECTIONDURATION? timeticks
19 CONNECTIONSTARTDATE
21 integer range 0 - 61
30 VLAN
80 Encryption
81 RSSI

.1.3.6.1.4.1.25053.1.2.2.1.1.4.1.1

1 ROGUEMAC
2 ROGUESSID
3 integer (0,2,3)
4 Channel
5 integer range 8-38
6 integer range 0-1
7 integer range 0-1
11 RSSI

aptable

? .1.3.6.1.4.1.25053.1.2.2.4.1.1.1.1

2 MAC
4 MODEL
5 NAME
6 DESCRIPTION
#7 LOCATION
16 IPADDRESS
#17 NETMASK
#20 GATEWAY
#23 ???
#25 ??? sometimes points to my syslog server
#32 sometimes 24?
#33 WIFIGROUP
#34 sometimes 2
#42 WIFIGROUP?