hwUpsBatteryCurrent
HUAWEI-UPS-MIB ·
.1.3.6.1.4.1.2011.6.174.1.6.100.1.2
Object
column AInteger32
Battery Total Current. It is a real-time analog parameter. Value range: -60000 to 60000, Unit: A, and the value is accurate to one decimal place (.1).
Context
- MIB
- HUAWEI-UPS-MIB
- OID
.1.3.6.1.4.1.2011.6.174.1.6.100.1.2- Type
- column
- Access
- readonly
- Status
- current
- Units
- A
- 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::hwUpsBatteryCurrent'
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::hwUpsBatteryCurrent.<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::hwUpsBatteryCurrent'
Syntax
AInteger32
Values & Constraints
Object Constraints
range: -60000-60000