We are doing a Alert Trigger condition using Custom SQL Alert. Here is the following code:
I want to alert on: Custom SQL Alert (Advanced)
Set up your SQL condition: Node
SELECT Nodes.NodeID, Nodes.Caption FROM Nodes
, (SELECT * FROM ntta_monitor_alert_procedures
WHERE alert_procedure = 'no-email'
AND AlertName = '${N=Alerting;M=AlertName}') AS sc
WHERE Nodes.NodeID = sc.nodeid AND Nodes.NodeID = ${N=SwisEntity;M=NodeID}
This seems to be a bug that the variable is not recognized
The variables are not working. We are using the Web based alerts.
I have even tried adding single ticks around the variable name, but that just makes the variable look like a string so the SQL validates fine, but it does not translate the variable to the value expected.