Hello everyone,
I`m trying to build custom alert for BGR relations and I have problem with custom dynamic message in 'trigger actions' tab.
I need to compare data from SWQL [SwisEntity] with IP address from Nodes table [SQL] and then re-translate it to Node name. My current message is below and the problem is highlighted.
On device ${N=SwisEntity;M=Router.Nodes.DisplayName} is BGP neighbor ${NeighborIP} unfunctional. Neighbor name: ${SQL: SELECT * FROM Nodes.Caption WHERE Nodes.IP_Address = '${N=SwisEntity;M=NeighborIP}'}
Yet, I`m not getting any other message then this: Neighbor name: ${SQL: SELECT Nodes.Caption FROM Nodes WHERE Nodes.IP_Address = 'xxx.xxx.xxx.xxx'}
I have tried escape characters, putting it in brackets, double quotation marks and single ones and many other things. If I remove this quotation marks, it is not able to load whole IP, it will stop at half.
Any suggestions please?
Thanks in advance,
Malisek