usmUserName
SNMP-USER-BASED-SM-MIB ·
versa variant
·
.1.3.6.1.6.3.15.1.2.2.1.2
Object
column OctetString
A human readable string representing the name of
the user.
This is the (User-based Security) Model dependent
security ID.
Context
- MIB
- SNMP-USER-BASED-SM-MIB
- OID
.1.3.6.1.6.3.15.1.2.2.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- usmUserEntry
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'SNMP-USER-BASED-SM-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-USER-BASED-SM-MIB::usmUserName'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SNMP-USER-BASED-SM-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SNMP-USER-BASED-SM-MIB::usmUserName.<usmUserEngineID>.<usmUserName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SNMP-USER-BASED-SM-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SNMP-USER-BASED-SM-MIB::usmUserName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-32