Hello,
I have an alert in place for OSPF neighbor relationship being down. Does anyone know how to add the interface that's assigned the IP in this code if possible?
Typically we run in 2 uplinks between our core and distribution switches, so I wanted to get alerts if any of those links goes down and or the ospf relationship went from Full to Down. Having the interface isn't a make or break, I thought it would be interesting to see if its possible.
Example of what I am looking for:
Lab-r1 to lab-dist on xe-0/0/1 (10.1.0.1) went down.
${N=SwisEntity;M=Router.Nodes.SysName} to ${SQL:SELECT Caption FROM NodesData left join NodeIPAddresses on NodesData.NodeID=NodeIPAddresses.NodeID where (NodeIPAddresses.IPAddress='${N=SwisEntity;M=NeighborIP}' OR NodesData.IP_Address='${N=SwisEntity;M=NeighborIP}')} (${N=SwisEntity;M=NeighborIP}) is down.