08-16-2021 04:09 AM - edited 08-16-2021 04:16 AM
Hello,
we are using Cisco Adaptive Security Appliance Software Version 9.14(2)4 on FPR4K-SM-12S. Can anyone else confirm that the bug was not removed in this newer version?
oss@domainame.com:~$ snmpwalk -c **** -v 2c X.X.X.X 1.3.6.1.4.1.9.9.392.1.3.21.1.1
SNMPv2-SMI::enterprises.9.9.392.1.3.21.1.1 = No Such Instance currently exists at this OID
Our customer is trying to get a list of sucessfull connected VPN users from SNMP MIB.
ASA-KE-HQ# sh snmp oid | grep crasUser
[758] .1.3.6.1.4.1.9.9.392.1.3.21.1.1 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasUsername
08-16-2021 04:54 AM - edited 08-16-2021 06:03 AM
Do you have latest MIB downloaded ? - https://snmp.cloudapps.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&mibName=CISCO-REMOTE-ACCESS-MONITOR-MIB
is your customer looking only active sessions ? then try 1.3.6.1.4.1.9.9.392.1.1
08-16-2021 05:15 AM - edited 08-16-2021 05:18 AM
I think, you recommended the wrong OID to me. Because these OIDs(1.3.6.1.4.1.9.9.392.1.1) only inform about the maximum values supported for groups users and sessions.
ASA-KE-HQ# sh snmp oid | grep 1.3.6.1.4.1.9.9.392.1.1
[720] .1.3.6.1.4.1.9.9.392.1.1.1 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasMaxSessionsSupportable
[721] .1.3.6.1.4.1.9.9.392.1.1.2 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasMaxUsersSupportable
[722] .1.3.6.1.4.1.9.9.392.1.1.3 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasMaxGroupsSupportable
[723] .1.3.6.1.4.1.9.9.392.1.1.4 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasNumCryptoAccelerators
I recommended to our client to use one of the attributes crasGroup, crasLocalAddress or crasISPAddress that contains the information about the username, but in decimal format and then convert it to ASCII.
ASA-KE-HQ# sh snmp oid | grep crasUser|crasGroup|crasLocalAddress|crasISPAddr$
[758] .1.3.6.1.4.1.9.9.392.1.3.21.1.1 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasUsername
[759] .1.3.6.1.4.1.9.9.392.1.3.21.1.2 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasGroup
[764] .1.3.6.1.4.1.9.9.392.1.3.21.1.7 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasLocalAddressType
[765] .1.3.6.1.4.1.9.9.392.1.3.21.1.8 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasLocalAddress
[766] .1.3.6.1.4.1.9.9.392.1.3.21.1.9 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasISPAddressType
[767] .1.3.6.1.4.1.9.9.392.1.3.21.1.10 CISCO-REMOTE-ACCESS-MONITOR-MIB::crasISPAddress
Our customer wants to monitor sucessfully authenticated users based on usernames.
08-16-2021 06:04 AM
Apologies I have typed wrong : (here is good details).
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide