All MIBs › CPQPOWER-MIB › upsTestTrap
upsTestTrap
Module: CPQPOWER-MIB
OID (symbolic): CPQPOWER-MIB::upsTestTrap
OID (numeric): 1.3.6.1.4.1.232.165.3.7.3
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Setting this variable to startTestTrap initiates a TrapTest is sent out from HPMM. All other set values are invalid.
What is upsTestTrap?
Setting this object to the value startTestTrap(1) causes the HP Management Module to send a test trap out, with any other written value rejected as invalid. It lets an admin verify that trap notifications from the UPS are actually reaching the monitoring station's SNMP trap receiver. For example, after configuring a new trap destination, staff would set upsTestTrap to confirm the network path and receiver configuration work before relying on it for real alarms.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.232.165.3.7.3 snmpwalk -v2c -c public <target> CPQPOWER-MIB::upsTestTrap
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.232.165.3.7.3.1 snmpget -v2c -c public <target> CPQPOWER-MIB::upsTestTrap.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.232.165.3.7.3.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::upsTestTrap 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.3 | upsTestTrap | CPQPOWER-MIB |