hwUpsBatteryCapacityLeft
HUAWEI-UPS-MIB ·
.1.3.6.1.4.1.2011.6.174.1.6.100.1.3
Object
column %Unsigned32
Battery Capacity Left. Value range: 0 to 100, Unit: %, and the value is an integer.
Context
- MIB
- HUAWEI-UPS-MIB
- OID
.1.3.6.1.4.1.2011.6.174.1.6.100.1.3- Type
- column
- Access
- readonly
- Status
- current
- Units
- %
- Parent
- hwUpsBatteryEntry
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-UPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-UPS-MIB::hwUpsBatteryCapacityLeft'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-UPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-UPS-MIB::hwUpsBatteryCapacityLeft.<hwUpsDeviceId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-UPS-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-UPS-MIB::hwUpsBatteryCapacityLeft'
Syntax
%Unsigned32
Values & Constraints
Object Constraints
range: 0-100