All MIBs › GSMP-MIB › gsmpNewPortEvent
gsmpNewPortEvent
Module: GSMP-MIB
OID (symbolic): GSMP-MIB::gsmpNewPortEvent
OID (numeric): 1.3.6.1.2.1.98.0.8
Node type: NOTIFICATION-TYPE
Description:
When it has been enabled, this notification is generated when a New Port Event occurs.
The notification indicates a change in the value of gsmpSessionStatNewPortEvents.
The session to which this notification applies is identified by the gsmpSessionThisSideId and gsmpSessionFarSideId which could be inferred from the Object Identifier of the gsmpSessionStatNewPortEvents object contained in the notification.
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> '' GSMP-MIB::gsmpNewPortEvent snmptrap -v2c -c public <manager> '' 1.3.6.1.2.1.98.0.8
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]:58868->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (321717748) 37 days, 5:39:37.48 SNMPv2-MIB::snmpTrapOID.0 = OID: GSMP-MIB::gsmpNewPortEvent
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.2 | mgmt | BKTEL-HFC862-BASE-MIB |
| 1.3.6.1.2.1 | mib_2 | CHECKPOINT-MIB-2 |
| 1.3.6.1.2.1.98 | gsmpMIB | GSMP-MIB |
| 1.3.6.1.2.1.98.0 | gsmpNotifications | GSMP-MIB |
| 1.3.6.1.2.1.98.0.8 | gsmpNewPortEvent | GSMP-MIB |