batteryActualCapacity
BATTERY-MIB ·
.1.3.6.1.2.1.233.1.1.1.10
Object
column milliampere hoursSNMPv2-SMIUnsigned32
This object provides the actual capacity of the
battery in units of mAh.
Typically, the actual capacity of a battery decreases
with time and with usage of the battery. It is usually
lower than the design capacity.
Note that the actual capacity needs to be measured and is
typically an estimate based on observed discharging and
charging cycles of the battery.
A value of 'ffffffff'H indicates that the actual capacity
cannot be determined.
Context
- MIB
- BATTERY-MIB
- OID
.1.3.6.1.2.1.233.1.1.1.10- Type
- column
- Access
- readonly
- Status
- current
- Units
- milliampere hours
- Parent
- batteryEntry
- Groups
- 1
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 'BATTERY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BATTERY-MIB::batteryActualCapacity'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'BATTERY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'BATTERY-MIB::batteryActualCapacity.<entPhysicalIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'BATTERY-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'BATTERY-MIB::batteryActualCapacity'
Syntax
milliampere hoursSNMPv2-SMIUnsigned32
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of