hwPowerState
HUAWEI-POWER-MIB ·
.1.3.6.1.4.1.2011.6.2.1.1.1.4
Object
column Enumeration
Power board status: Refers to the status of communication between the internal monitor board of the power device and the external upper board. Options: 1.normal(1) - indicates the normal state 2.fault(2) - indicates the faulty state 3.protecting(3)- indicates that the backup power supply works in the protection state 4.switched(4) - indicates that the main power supply is faulty, and is protected by backup power supply 5.invalid(-1) - indicates that the device can not get the value, e.g. the EMU does not support this operation, or the EMU state is abnormal
Context
- MIB
- HUAWEI-POWER-MIB
- OID
.1.3.6.1.4.1.2011.6.2.1.1.1.4- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwPowerSysInfoEntry
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 'HUAWEI-POWER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-POWER-MIB::hwPowerState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-POWER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-POWER-MIB::hwPowerState.<hwEnvEmuIndex>.<hwPowerIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-POWER-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-POWER-MIB::hwPowerState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
-1 | invalid |
1 | normal |
2 | fault |
3 | protecting |
4 | switched |