cpqUpsEstimatedBatteryLife

CPQUPS-MIB · .1.3.6.1.4.1.232.12.2.2.3

Object

scalar mandatory Integer32
The estimated time, in minutes, of battery power available.
The value will be negative one (-1) if the agent is unable to
determine this information.  A UPS may not provide this
information when AC power is available.

Context

MIB
CPQUPS-MIB
OID
.1.3.6.1.4.1.232.12.2.2.3
Type
scalar
Access
readonly
Status
mandatory
Parent
cpqUpsBasic

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

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

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647