All MIBs › CPQPOWER-MIB › trapTest
trapTest
Module: CPQPOWER-MIB
OID (symbolic): CPQPOWER-MIB::trapTest
OID (numeric): 1.3.6.1.4.1.232.165.0.5
Node type: NOTIFICATION-TYPE
Description: Test trap sent to a trap receiver to check proper reception of traps
Examples
Send this trap to an SNMP manager — replace <manager> with the IP or hostname of your monitoring server (SNMPv2c):
snmptrap -v2c -c public <manager> '' CPQPOWER-MIB::trapTest snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.232.165.0.5
Listen for incoming traps on the manager host (-f keeps it in the foreground, -Lo prints to stdout — useful for testing):
snmptrapd -f -Lo -c /dev/null authCommunity log public
Example snmptrapd log entry:
zoo11-linux.zoo [UDP: [192.168.30.111]:52824->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (388734040) 44 days, 23:49:00.40 SNMPv2-MIB::snmpTrapOID.0 = OID: CPQPOWER-MIB::trapTest
SNMPv3 example:
snmptrap -v3 -l authPriv -u snmpv3user -a SHA -A "AuthPass1" -x AES -X "PrivPass1" <manager> '' CPQPOWER-MIB::trapTest
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::trapTest 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.0.5 | trapTest | CPQPOWER-MIB |