hwIbatEquipNum
EMAP-MIB ·
.1.3.6.1.4.1.2011.6.164.1.20.1.1.4
Object
column r/w
Unsigned32
Number of Batteries. Value range: 0 to 96, and the value is an integer (1). If the value is 2147483647(0x7FFFFFFF), it indicates that the value is invalid.
Context
- MIB
- EMAP-MIB
- OID
.1.3.6.1.4.1.2011.6.164.1.20.1.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hwSiteIboxEntry
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::hwIbatEquipNum'
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::hwIbatEquipNum.<hwIboxIndex>'
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::hwIbatEquipNum'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 0-96