upsBatTimeRemaining

OBS ✓
CPQPOWER-MIB · .1.3.6.1.4.1.232.165.3.2.1

Object

scalar mandatory Integer32
Battery run time in seconds before UPS turns off due
to low battery.
Observium directly uses this object
This object is referenced by an Observium discovery or polling workflow.
Used in: Sensors
Explore Observium network monitoring

Context

MIB
CPQPOWER-MIB
OID
.1.3.6.1.4.1.232.165.3.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 'CPQPOWER-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CPQPOWER-MIB::upsBatTimeRemaining.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::upsBatTimeRemaining'

Syntax

Integer32

Values & Constraints

Object Constraints
range: 0-2147483647