hwAcbRunningStatus
EMAP-MIB ·
.1.3.6.1.4.1.2011.6.164.1.18.2.1.3
Object
column Enumeration
Battery charging state, indicates the charging and discharging information about the battery group. It is an enumeration type. If the enumeration value is 1, it indicates a battery in the Offline state. If the enumeration value is 2, it indicates a battery in the online state. If the enumeration value is 3, it indicates a battery in the Sleep state. If the enumeration value is 4, it indicates a battery in the disconnect state. If the enumeration value is 5, it indicates a battery in the Charge state. If the enumeration value is 6, it indicates a battery in the Discharge state. If the enumeration value is 7, it indicates a battery in the Standby state. If the enumeration value is 255, it indicates a battery group in the unknown state.
Context
- MIB
- EMAP-MIB
- OID
.1.3.6.1.4.1.2011.6.164.1.18.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- hwAcbSampEntry
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 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwAcbRunningStatus'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'EMAP-MIB::hwAcbRunningStatus.<hwAcbBatVolt>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'EMAP-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'EMAP-MIB::hwAcbRunningStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | offline |
2 | online |
3 | sleep |
4 | disconnect |
5 | charge |
6 | discharge |
7 | standby |
255 | unknown |