upsBatteryStatus

UPS-MIB · liebert variant · .1.3.6.1.2.1.33.1.2.1

Object

scalar Enumeration
The indication of the capacity remaining in the UPS
system's batteries.   A value of batteryNormal
indicates that the remaining run-time is greater than
upsConfigLowBattTime.  A value of batteryLow indicates
that the remaining battery run-time is less than or
equal to upsConfigLowBattTime.  A value of
batteryDepleted indicates that the UPS will be unable
to sustain the present load when and if the utility
power is lost (including the possibility that the
utility power is currently absent and the UPS is
unable to sustain the output).

Context

MIB
UPS-MIB
OID
.1.3.6.1.2.1.33.1.2.1
Type
scalar
Access
readonly
Status
current
Parent
upsBattery
Groups
3

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

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

Syntax

Enumeration

Values & Constraints

Enumerated Values
1unknown
2batteryNormal
3batteryLow
4batteryDepleted

Conformance

Member of
Compliance refinements
Values: unknown(1), batteryNormal(2), batteryLow(3), batteryDepleted(4)
Reports the battery status.
Values: batteryNormal(2), batteryLow(3)
Support of the values unknown(1) and
batteryDepleted(4) is not required.