Hi,
I am trying to define an alert, to show custom information based on the particular component that triggers the alert. In the alert definition I have opted to use SWQL to pull the information I need, this works fine, but only if I manually specify the ComponentID field in the SWQL, like this:
${N=SWQL;M=SELECT StringData FROM Orion.APM.MultipleStatisticData WHERE ComponentID =54411}
Is it possible to have the alert retrieve the component ID dynamically? I thought it was with a query like the below:
${N=SWQL;M=SELECT StringData FROM Orion.APM.MultipleStatisticData WHERE ComponentID = ${N=SwisEntity;M=ComponentAlert. ComponentID}}
But it doesn't work and simply shows the query as typed, instead of the actual data that i'm after. Does anyone have any ideas?
Thanks in advance for any information you can provide.
Simon