userStatus
CORIANT-GROOVE-MIB ·
.1.3.6.1.4.1.42229.1.2.7.2.1.1.10
Object
column Enumeration
This attribute shows the user status.
User with status 'enabled' will have access to the system.
User with status 'disabled' not have access to the system.
User with status 'password-aged' will have access to the system but will be forced to change his password on first-time login.
User with status 'lockout' means the account is locked out due to unsuccessful login attempts.
default value :disabled
Context
- MIB
- CORIANT-GROOVE-MIB
- OID
.1.3.6.1.4.1.42229.1.2.7.2.1.1.10- Type
- column
- Access
- readonly
- Status
- current
- Parent
- userEntry
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 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CORIANT-GROOVE-MIB::userStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CORIANT-GROOVE-MIB::userStatus.<userName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CORIANT-GROOVE-MIB' -M '/opt/observium/mibs/coriant:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CORIANT-GROOVE-MIB::userStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |
3 | passwordAged |
4 | lockout |