userName
BASIS-SHELF-MIB ·
.1.3.6.1.4.1.351.110.1.1.13
Object
scalar mandatory
OctetString
username of the person logging in or logging out. used only in traps currently only limit to 12 chars
Context
- MIB
- BASIS-SHELF-MIB
- OID
.1.3.6.1.4.1.351.110.1.1.13- Type
- scalar
- Access
- readonly
- Status
- mandatory
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BASIS-SHELF-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BASIS-SHELF-MIB::userName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BASIS-SHELF-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BASIS-SHELF-MIB::userName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-20