Wireless Access

Reply
New Contributor

SNMP OID for Station Phy Type

Hello,

 

I would like to use Cacti to monitor our controllers, in particular I'm trying to create a graph that shows the various client protocols in use (11a/b/g/n/ac etc.) - example from our Cisco WLC:

 

Station_Protocol.png

 

Reding throuhg the WLSX-WLAN-MIB it seems the "wlsxWlanStationTable" is what I am after and walking the controller for .1.3.6.1.4.1.14823.2.2.1.5.2.2.1.1.3 (wlanStaPhyType) returns useful data:

 

Will-rMBP15:~ williamjones$ snmpwalk -v 2c -c wjcommsSNMP 10.10.1.5 .1.3.6.1.4.1.14823.2.2.1.5.2.2.1.1.3
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.0.187.58.71.155.103 = INTEGER: 1
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.36.36.14.237.168.159 = INTEGER: 3
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.40.207.233.19.122.173 = INTEGER: 1
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.112.62.172.64.229.116 = INTEGER: 3
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.112.222.226.184.51.251 = INTEGER: 1
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.116.194.70.125.249.108 = INTEGER: 3
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.160.11.186.138.134.47 = INTEGER: 1
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.184.23.194.214.77.118 = INTEGER: 1
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.188.146.107.108.133.232 = INTEGER: 1
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.204.250.0.170.69.46 = INTEGER: 1
SNMPv2-SMI::enterprises.14823.2.2.1.5.2.2.1.1.3.204.250.0.243.134.176 = INTEGER: 1

This is excellent as it is basically the same way we are gathering data for Cisco WLCs at the moment, so adapting our templates for Aruba controllers should be easy, at the moment I think:

 

1= 5GHz 11n/ac

3= 2.4GHz 11n

 

Where I could use a bit of help is does anybody have a key to what the different integer values are and what the total range of integers is, I can then count and total these to build an array to give me the graphy I want. :)

 

Also, we have AMP running in the lab for eval, does anybody know if such a graph already exists or can be generated by report.

 

 

 

 

Moderator

Re: SNMP OID for Station Phy Type

hello

if you actually load the mib then snmp will do the work for you:

 

root@bt:/home/aruba/mibs/6.4.2.8# snmpwalk -v2c -c public -O0X -mALL -M. 192.168.1.164 wlanStaPhyType       
WLSX-WLAN-MIB::wlanStaPhyType[STRING: 5c:c5:d4:7c:a3:44] = INTEGER: dot11a(1)
WLSX-WLAN-MIB::wlanStaPhyType[STRING: e8:50:8b:0d:68:0d] = INTEGER: dot11a(1)

alternatively the answer to your question, more specfically, is in the MIB itself.

 

>> from aruba-wlan.my (this is the OID you are getting)
  wlanStaPhyType OBJECT-TYPE
         SYNTAX       ArubaPhyType            
         MAX-ACCESS   read-only
         STATUS       current
         DESCRIPTION            "      Type of the Station.            "
        ::= { wlsxWlanStationEntry 3 }


>> then refer to aruba-tc.my to find out what is ArubaPhyType
ArubaPhyType ::= TEXTUAL-CONVENTION
  STATUS    current
  DESCRIPTION
      " Represents the PHY-type of the access point or client.  Wired clients will   show 'wired' in user MIB entries.    "
  SYNTAX       INTEGER {
            dot11a(1),
            dot11b(2),
            dot11g(3),
            dot11ag(4),
            wired(5)
            }

>> and for completeness
ArubaHTMode ::= TEXTUAL-CONVENTION
  STATUS    current
  DESCRIPTION
      " Represents the HT status of the access point or client.    "
  SYNTAX       INTEGER {
            none(1),
            ht20(2),
            ht40(3),
            vht20(4),
            vht40(5),
            vht80(6),
            vht160(7),
            vht80plus80(8)
            }

you will need to sum this up for feeding to cacti, but that should be easy enough to do with a shell script attached to cacti, let me know if you need some hints on that.

 

regards

-jeff

 

 

 

 

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: