batteryActualCurrent
BATTERY-MIB ·
.1.3.6.1.2.1.233.1.1.1.17
Object
column milliampereSNMPv2-SMIInteger32
This object provides the actual charging or discharging
current of the battery in units of mA.
The charging current is represented by positive values,
and the discharging current is represented by negative values.
A value of '7fffffff'H indicates that the actual current
cannot be determined.
Context
- MIB
- BATTERY-MIB
- OID
.1.3.6.1.2.1.233.1.1.1.17- Type
- column
- Access
- readonly
- Status
- current
- Units
- milliampere
- 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::batteryActualCurrent'
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::batteryActualCurrent.<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::batteryActualCurrent'
Syntax
milliampereSNMPv2-SMIInteger32
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of