hwBatteryHardwareState

HUAWEI-POWER-MIB · .1.3.6.1.4.1.2011.6.2.1.6.3.1.15

Object

column Enumeration
Hardware State of Battery.
Options:
1. normal(1)    - indicates that the hardware state of Battery is normal
2. fault(2)     - indicates that the hardware state of Battery is fault

Context

MIB
HUAWEI-POWER-MIB
OID
.1.3.6.1.4.1.2011.6.2.1.6.3.1.15
Type
column
Access
readonly
Status
current
Parent
hwBatteryEntry

Walk 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::hwBatteryHardwareState'
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::hwBatteryHardwareState.<hwEnvEmuIndex>.<hwPowerIndex>.<hwBatteryIndex>'
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::hwBatteryHardwareState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1normal
2fault