Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 20686

Re: Custom SQL query in Alert message

$
0
0

ctrader wrote:

 

an alert that is monitoring the "routing neighbors" property.

That's the key right there. When you create alerts based on the 'Routing Neighbors' type, you are not pulling any interface information into your query.

 

You are really pulling your information out of the NPM_RoutingNeighbor_V view. So your options are going to be limited. This is the information in that view:

 

2014-11-06_13-33-22.jpg

 

So, you are limited to connecting the Nodes table. Unless you have a way to identify the specific interface from a node, you might be in a pickle.

 

For instance:

 

SELECT Interfaces.CarrierName FROM Interfaces JOIN Nodes ON Nodes.${NodeID}=Interfaces.NodeID WHERE Interfaces._____ = ???

 

Are your nodes setup to only have one BGP link per node? If so, add a custom property to the interface marking it as BGP; then use that as your limiting factor on your query.

 

 

-ZackM

Loop1 Systems: SolarWinds Training and Professional Services


Viewing all articles
Browse latest Browse all 20686

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>