All MIBs › CPQPOWER-MIB › upsBatTimeRemaining
upsBatTimeRemaining
Module: CPQPOWER-MIB
OID (symbolic): CPQPOWER-MIB::upsBatTimeRemaining
OID (numeric): 1.3.6.1.4.1.232.165.3.2.1
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Battery run time in seconds before UPS turns off due to low battery.
What is upsBatTimeRemaining?
This is the estimated number of seconds the UPS battery can continue supplying power before the unit shuts itself off due to low battery. It is the key figure an admin watches during a power outage to know how much time is left to gracefully shut down servers. For example, if upsBatTimeRemaining drops to 120 seconds during a utility outage, an automated script can trigger an orderly shutdown of the attached hosts.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.232.165.3.2.1 snmpwalk -v2c -c public <target> CPQPOWER-MIB::upsBatTimeRemaining
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.232.165.3.2.1.1 snmpget -v2c -c public <target> CPQPOWER-MIB::upsBatTimeRemaining.1
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> upsBatTimeRemaining.1
Start monitoring Compaq/HP-managed UPS/PDU power infrastructure with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CPQPOWER-MIB::upsBatTimeRemaining OID value, configure state conditions and alerts, and monitor any Compaq/HP-managed UPS/PDU power infrastructure from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.232 | compaq | COMPAQ-ID-REC-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.232.165 | cpqPower | CPQPOWER-MIB |
| 1.3.6.1.4.1.232.165.3 | ups | CPQPOWER-MIB |
| 1.3.6.1.4.1.232.165.3.2 | upsBattery | CPQPOWER-MIB |
| 1.3.6.1.4.1.232.165.3.2.1 | upsBatTimeRemaining | CPQPOWER-MIB |