I am looking for a way to monitor OSPF links using SNMP. I have attempted to try to poll the Neighbor State of a specific peer, looking for a value of Full, and going into alarm once the value is no longer Full, but when the trunk goes down, the peer is completely removed from the Neighbor Table. I have also attempted to poll the OSPF Interface state of a specified OSPF Interface. Alerting once the interface goes into a down state, but some of the interfaces go from BDR state to DR state instead of a down state. Does anyone have any ideas on a variable/value that I can monitor?
Your best bet is to configure your gear to send traps for interface and neighbor state changes, and monitor/handle those traps with your tools.