hwSetBattsRatedCapacity
EMAP-MIB ·
.1.3.6.1.4.1.2011.6.164.1.4.1.13
Object
scalar r/w
Unsigned32
Set batteries rated capacity. It is an analog parameter collected by the battery string in real time. Value range: 5 to 10000, units: Ah, 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.4.1.13- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwBattsConfig
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar 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::hwSetBattsRatedCapacity.0'
More examples
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::hwSetBattsRatedCapacity'
Syntax
Unsigned32
Values & Constraints
Object Constraints
range: 5-10000