CPQPOWER-MIB :: upsTestBattery

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsCPQPOWER-MIBupsTestBattery

upsTestBattery

Module: CPQPOWER-MIB

OID (symbolic): CPQPOWER-MIB::upsTestBattery

OID (numeric): 1.3.6.1.4.1.232.165.3.7.1

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Setting this variable to startTest initiates the battery test. All other set values are invalid.

What is upsTestBattery?

Setting this object to the value startTest(1) initiates a battery self-test on the UPS; any other value written to it is rejected as invalid. It gives an admin a remote way to trigger a battery health check without physically visiting the UPS. For example, a scheduled script could set upsTestBattery to startTest every month and then poll upsTestBatteryStatus afterward to confirm the battery still passes.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.232.165.3.7.1
snmpwalk -v2c -c public <target> CPQPOWER-MIB::upsTestBattery

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.232.165.3.7.1.1
snmpget -v2c -c public <target> CPQPOWER-MIB::upsTestBattery.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.232.165.3.7.1.1 i <value>

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::upsTestBattery 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 OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.232compaqCOMPAQ-ID-REC-MIB
Numeric OIDNameModule
1.3.6.1.4.1.232.165cpqPowerCPQPOWER-MIB
1.3.6.1.4.1.232.165.3upsCPQPOWER-MIB
1.3.6.1.4.1.232.165.3.7upsTestCPQPOWER-MIB
1.3.6.1.4.1.232.165.3.7.1upsTestBatteryCPQPOWER-MIB