All MIBs › CPQPOWER-MIB › upsTestBatteryStatus
upsTestBatteryStatus
Module: CPQPOWER-MIB
OID (symbolic): CPQPOWER-MIB::upsTestBatteryStatus
OID (numeric): 1.3.6.1.4.1.232.165.3.7.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-only
Description: Reading this enumerated value gives an indication of the UPS Battery test status.
What is upsTestBatteryStatus?
This enumerated value reports the outcome of the most recent (or in-progress) UPS battery test: unknown, passed, failed, in progress, not supported, inhibited, or scheduled. It is how an admin learns the result after triggering a test via upsTestBattery. For example, upsTestBatteryStatus reading failed(3) after a monthly self-test would prompt an admin to schedule battery replacement before the next real outage.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.232.165.3.7.2 snmpwalk -v2c -c public <target> CPQPOWER-MIB::upsTestBatteryStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.232.165.3.7.2.1 snmpget -v2c -c public <target> CPQPOWER-MIB::upsTestBatteryStatus.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::upsTestBatteryStatus 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.7 | upsTest | CPQPOWER-MIB |
| 1.3.6.1.4.1.232.165.3.7.2 | upsTestBatteryStatus | CPQPOWER-MIB |