hwUserAdminStatus
HUAWEI-MNGT-MIB ·
.1.3.6.1.4.1.2011.6.3.10.8.1
Object
scalar Enumeration
The Status of the user login. Options: 1. logon(0) -indicates that the user goes online. 2. logoff(1) -indicates that the user goes offline. 3. logonfail(2) -indicates that the user login fails.
Context
- MIB
- HUAWEI-MNGT-MIB
- OID
.1.3.6.1.4.1.2011.6.3.10.8.1- Type
- scalar
- Access
- notifyonly
- Status
- current
- Parent
- hwMngtUserAlarmTrapsVbOids
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 'HUAWEI-MNGT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-MNGT-MIB::hwUserAdminStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-MNGT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-MNGT-MIB::hwUserAdminStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | logon |
1 | logoff |
2 | logonfail |