Quantcast
Channel: THWACK: All Content - Network Performance Monitor
Viewing all articles
Browse latest Browse all 21870

How to pass custom poller value in Alert message

$
0
0

Created a property monitor of Custom Node Poller in Advanced Alerts to set up an alert that triggers when a VPN tunnel is down.

 

I applied OIDs to a Fortinet node, for the tunnel state, fgVpnTunEntStatus (1=down or 2=up) as Raw value, Format: none, Get, and for the tunnel names to pass,  fgVpnTunEntPhase1Name,  and fgVpnTunentPhase2Name both as Raw value, Format: Text, Get 


I want to have the alert message sent to simply indicate something like:


The VPN to [Value from the OID 1.3.6.1.4.1.12356.101.12.2.2.1.2

(fgVPNTunentPhase1Name) on Node (Value) is Down.

 

I created an alert to simply pass as many variables as I could to see where to find how to include the (fgVPNTunentPhase1Name), and to determine which values are available to build the alert.

 

Alert.PNG

It triggers properly, but can't figure out how to a.)  include the tunnel name variables to pass into the alert message, and b.) which is correct variable to pass showing the tunnel status (i.e. 1=down).In order to trigger the alert, I set condition to not equal to down, since the tunnel being tested is up, so I assume the '2' values in #5 or #28 would be correct for that? How do I get the Tunnel name out from a variable?

 

Here's the list of variables that were available, followed by the corresponding output of the actual alert.

 

Fortinet variables side by side.PNG

 

Suggestions appreciated, or am I looking at building a custom SQL alert to accomplish this?


Viewing all articles
Browse latest Browse all 21870

Trending Articles



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