Wireless Access

Reply
Occasional Contributor II

How to get username by IP address from MIB (SNMP)?

I have encountered an issue accessing Aruba controller via SNMP. Our developer needs to retrieve username from the IP address, in order to identify the account for wireless printing.  However, Aruba MIB states that OID for nUserIpAddress  (1.3.6.1.4.1.14823.2.4.1.2.1.2) is not accessible. I am really stuck now and wondering if there is any workaround?  

 

 

Guru Elite

Re: How to get username by IP address from MIB (SNMP)?

What version of ArubaOS?

 


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.3 User Guide
InstantOS 8.3 User Guide
Airheads Knowledgebase
Occasional Contributor II

Re: How to get username by IP address from MIB (SNMP)?

6.1.2.6.

 

I can upgrade to newer version if it helps.

Guru Elite

Re: How to get username by IP address from MIB (SNMP)?

No.  It should return something.  Please open a support case to ensure that this is not a problem with your setup.

 


*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.3 User Guide
InstantOS 8.3 User Guide
Airheads Knowledgebase
Occasional Contributor II

Re: How to get username by IP address from MIB (SNMP)?

Thanks cjosheph.  

 

According to "ArubaOOS 6.1 MIB", this seems to be normal so I am not sure if opening a ticket will help.

 

nUserIpAddress

Syntax IpAddress
Max-Access not-accessible
Status current
Description IP address of the user.
History Added in ArubaOS 2.3

 

Here is my result when I run SNMP query 

 

> snmpbulkwalk -v 2c -c secure 10.1.30.9 .1.3.6.1.4.1.14823.2.2.1.4.1.2.1.2   <= this is OID for nUserIpAddress

 

SNMPv2-SMI::enterprises.14823.2.2.1.4.1.2.1.2 = No Such Object available on this agent at this OID

 

> snmpbulkwalk -v 2c -c secure 10.1.30.9 .1.3.6.1.4.1.14823.2.2.1.4.1.2.1.3   <= this is OID for nUserName

 

SNMPv2-SMI::enterprises.14823.2.2.1.4.1.2.1.3.0.23.242.73.215.6.10.1.99.64 = STRING: "test"

 

thanks again.

Yong

 

 

 

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