upsBatteryAbmStatus

CPQPOWER-MIB · .1.3.6.1.4.1.232.165.3.2.5

Object

scalar mandatory Enumeration
Gives the status of the Advanced Battery Management;
batteryFloating(3) status means that the charger is temporarily 
charging the battery to its float voltage; batteryResting(4) is the 
state when the battery is fully charged and none of the other actions 
(charging/discharging/floating) is being done.

Context

MIB
CPQPOWER-MIB
OID
.1.3.6.1.4.1.232.165.3.2.5
Type
scalar
Access
readonly
Status
mandatory
Parent
upsBattery

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQPOWER-MIB::upsBatteryAbmStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CPQPOWER-MIB::upsBatteryAbmStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1batteryCharging
2batteryDischarging
3batteryFloating
4batteryResting
5unknown