sysUserNamePrivilege
NAG-MIB ·
.1.3.6.1.4.1.57206.7.100.1.22.4
Object
scalar r/w
Enumeration
set username privilege. 1 - network-user ,10 - network-operator ,15 - network-admin(default).
Context
- MIB
- NAG-MIB
- OID
.1.3.6.1.4.1.57206.7.100.1.22.4- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- sysAddUser
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 'NAG-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NAG-MIB::sysUserNamePrivilege.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NAG-MIB' -M '/opt/observium/mibs/snr:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NAG-MIB::sysUserNamePrivilege'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | network-user |
10 | network-operator |
15 | network-admin |