CPQPOWER-MIB :: trapCode

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsCPQPOWER-MIBtrapCode

trapCode

Module: CPQPOWER-MIB

OID (symbolic): CPQPOWER-MIB::trapCode

OID (numeric): 1.3.6.1.4.1.232.165.1.1.1

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-only

Description: A number identifying the event for the trap that was sent. Mapped unique trap code per unique event to be used by ISEE's decoder ring.

What is trapCode?

This read-only integer is a code number identifying the specific event that triggered an SNMP trap from this power device, mapped to a unique code per unique event for use by HP's ISEE decoder ring. An admin or automated alert system uses this code to programmatically identify exactly which power-related event occurred without parsing free-text trap messages. For example, an integration tool could look up trapCode in a table to translate it into a human-readable description like 'battery low' or 'UPS on battery'.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.232.165.1.1.1
snmpwalk -v2c -c public <target> CPQPOWER-MIB::trapCode

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.232.165.1.1.1.1
snmpget -v2c -c public <target> CPQPOWER-MIB::trapCode.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::trapCode 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.1powerDeviceCPQPOWER-MIB
1.3.6.1.4.1.232.165.1.1trapInfoCPQPOWER-MIB
1.3.6.1.4.1.232.165.1.1.1trapCodeCPQPOWER-MIB