Since the ASA devices do not current allow us to access the crasUsername OID, Cisco has offered a work around o fusing the OID 1.3.6.1.4.1.9.9.392.1.3.21.1.2, and then parsing/converting the ASCII portion to a user name.
I am a dunce when it comes to using the Universal Device Polling interface - I am lucky I have any of the pollers I use function - but - I REALLY would like to be able to show the actual users names that are connected via VPN (as would the helpdesk here).
SO - based on the link here - ASA RA VPN user information using SNMP - Cisco Support Community, we need to an ASCII conversion.. And now I am lost. How do we create a transformation poller in Orion to convert this stuff?
Here is the example they use -
- snmpwalk.exe -c public -v 2c 192.168.16.xx "1.3.6.1.4.1.9.9.392.1.3.21.1.2"
SNMPv2-SMI::enterprises.9.9.392.1.3.21.1.2.8.97.115.116.114.105.112.97.116.290817 = STRING: "puneet"
This tells us the name of "tunnel-group" and the "username" used to connect to the ASA.
In this output “puneet” is the name of the tunnel-group.
Now we need to Convert name from ASCII based indexing
- 9.9.392.1.3.21.1.2.8.97.115.116.114.105.112.97.116.290817
a s t r i p a t
ASCII translation:
97 = a
115 = s
116 = t
114 = r
105 = i
112 = p
97 = a
116 = t
Any suggestions/assistance appritiated.