All MIBs › CPQ-TRAPS-MIB › switchLocationChange
switchLocationChange
Module: CPQ-TRAPS-MIB
OID (symbolic): CPQ-TRAPS-MIB::switchLocationChange
OID (numeric): 1.3.6.1.4.1.232.0.161013
Node type: NOTIFICATION-TYPE
Description: The switch location has changed. The new location is defined in the variables. The trap will be sent out on the next boot
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> '' CPQ-TRAPS-MIB::switchLocationChange snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.232.0.161013
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]:50730->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (402297898) 46 days, 13:29:38.98 SNMPv2-MIB::snmpTrapOID.0 = OID: CPQ-TRAPS-MIB::switchLocationChange
Start monitoring HP (Compaq) ProLiant server (trap definitions) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CPQ-TRAPS-MIB::switchLocationChange OID value, configure state conditions and alerts, and monitor any HP (Compaq) ProLiant server (trap definitions) 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.0.161013 | switchLocationChange | CPQ-TRAPS-MIB |