All MIBs › OSPF-TRAP-MIB › ospfNbrStateChange
ospfNbrStateChange
Module: OSPF-TRAP-MIB
OID (symbolic): OSPF-TRAP-MIB::ospfNbrStateChange
OID (numeric): 1.3.6.1.2.1.14.16.2.2
Node type: NOTIFICATION-TYPE
Description: An ospfNbrStateChange trap signifies that there has been a change in the state of a non-virtual OSPF neighbor. This trap should be generated when the neighbor state regresses (e.g., goes from Attempt or Full to 1-Way or Down) or progresses to a terminal state (e.g., 2-Way or Full). When an neighbor transitions from or to Full on non-broadcast multi-access and broadcast networks, the trap should be generated by the designated router. A designated router transitioning to Down will be noted by ospfIfStateChange.
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> '' OSPF-TRAP-MIB::ospfNbrStateChange snmptrap -v2c -c public <manager> '' 1.3.6.1.2.1.14.16.2.2
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]:55776->[192.168.30.10]:162]: DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (261145568) 30 days, 5:24:15.68 SNMPv2-MIB::snmpTrapOID.0 = OID: OSPF-TRAP-MIB::ospfNbrStateChange
Start monitoring vendor-neutral, standards-based MIB (OSPFv2 trap notifications, RFC 4750) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the OSPF-TRAP-MIB::ospfNbrStateChange OID value, configure state conditions and alerts, and monitor any vendor-neutral, standards-based MIB (OSPFv2 trap notifications, RFC 4750) from a single console.
OID Breakdown
Upper-level ancestors (8 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.2 | mgmt | AXON-MIB |
| 1.3.6.1.2.1 | mib_2 | AXON-MIB |
| 1.3.6.1.2.1.14 | ospf | MRVINREACH |
| 1.3.6.1.2.1.14.16 | ospfAreaTable | OSPF-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.2.1.14.16.2 | ospfTraps | OSPF-TRAP-MIB |
| 1.3.6.1.2.1.14.16.2.2 | ospfNbrStateChange | OSPF-TRAP-MIB |