hwBatteryCapacity

HUAWEI-POWER-MIB · .1.3.6.1.4.1.2011.6.2.1.6.3.1.2

Object

column r/w SNMPv2-SMIInteger32
The permitted max battery capacity of the battery group loop charge.
Unit: Ah
Invalid(-1) indicates that 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.6.3.1.2
Type
column
Access
readwrite
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::hwBatteryCapacity'
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::hwBatteryCapacity.<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::hwBatteryCapacity'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647