batteryDesignCapacity
BATTERY-MIB ·
.1.3.6.1.2.1.233.1.1.1.7
Object
column milliampere hoursSNMPv2-SMIUnsigned32
This object provides the design (or nominal) capacity of
the battery in units of milliampere hours (mAh).
Note that the design capacity is a constant value and
typically different from the actual capacity of the battery.
Usually, this is a value provided by the manufacturer of the
battery.
A value of 0 indicates that the design capacity is
unknown.
Context
- MIB
- BATTERY-MIB
- OID
.1.3.6.1.2.1.233.1.1.1.7- 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::batteryDesignCapacity'
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::batteryDesignCapacity.<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::batteryDesignCapacity'
Syntax
milliampere hoursSNMPv2-SMIUnsigned32
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295
Conformance
Member of