This is a built-in function within Advanced Alert Manager:
If this doesn't work, you can create a custom SQL alert as well:
Hopefully one of those options will get you where you are wanting to go.
Please note that the trigger looks at the NPM_RoutingNeighbor_V view, which is created with this query: (so it's not your traditional table per say)
SELECT NeighborID, NodeID, NeighborIPGUID, NeighborIP, rn.ProtocolID, rn.ProtocolStatus, IP_Address_Type, rn.IsDeleted, rpsm.DisplayName, rpsm.OrionStatus FROM NPM_RoutingNeighbor rn LEFT JOIN NPM_RoutingProtocolStateMapping rpsm ON rn.ProtocolID=rpsm.ProtocolID AND rn.ProtocolStatus=rpsm.ProtocolStatus
Hope this helps!
- ZackM