All MIBs › ACMEPACKET-ENVMON-MIB › apEnvMonPortChangeNotification
apEnvMonPortChangeNotification
Module: ACMEPACKET-ENVMON-MIB
OID (symbolic): ACMEPACKET-ENVMON-MIB::apEnvMonPortChangeNotification
OID (numeric): 1.3.6.1.4.1.9148.3.3.4.0.5
Node type: NOTIFICATION-TYPE
Description:
The trap will be generated if a physical port is inserted/present or removed/not present.
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> '' ACMEPACKET-ENVMON-MIB::apEnvMonPortChangeNotification snmptrap -v2c -c public <manager> '' 1.3.6.1.4.1.9148.3.3.4.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]:62816->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (151225184) 17 days, 12:04:11.84 SNMPv2-MIB::snmpTrapOID.0 = OID: ACMEPACKET-ENVMON-MIB::apEnvMonPortChangeNotification
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.9148 | acmepacket | ACMEPACKET-SMI |
| 1.3.6.1.4.1.9148.3 | acmepacketMgmt | ACMEPACKET-SMI |
| 1.3.6.1.4.1.9148.3.3 | apEnvMonModule | ACMEPACKET-ENVMON-MIB |
| 1.3.6.1.4.1.9148.3.3.4 | apEnvMonMIBNotificationPrefix | ACMEPACKET-ENVMON-MIB |
| 1.3.6.1.4.1.9148.3.3.4.0 | apEnvMonMIBNotifications | ACMEPACKET-ENVMON-MIB |
| 1.3.6.1.4.1.9148.3.3.4.0.5 | apEnvMonPortChangeNotification | ACMEPACKET-ENVMON-MIB |