upsBatteryStatus

TRIPPUPS1-MIB · .1.3.6.1.4.1.850.1.1.2.1

Object

scalar mandatory Enumeration
The indication of the capacity remaining in the UPS
system's batteries.  A value of batteryNormal
indicates that the batteries are fully charged.  A
value of batteryLow indicates that the remaining battery
run-time is less than or equal to
upsConfigMinutesRemaining.  A value of batteryDepleted
indicates that the UPS will be unable to sustain the
present load when and if the utility power is lost.

Context

MIB
TRIPPUPS1-MIB
OID
.1.3.6.1.4.1.850.1.1.2.1
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 'TRIPPUPS1-MIB' -M '/opt/observium/mibs/tripplite:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TRIPPUPS1-MIB::upsBatteryStatus.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TRIPPUPS1-MIB' -M '/opt/observium/mibs/tripplite:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TRIPPUPS1-MIB::upsBatteryStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1unknown
2batteryNormal
3batteryLow
4batteryDepleted