Hi
In the alert message (alertmessage) I would like to achive the following for volumes.
If it is a Windows machine, use the "Device ID" property of the volume.
If is Linux machine use the "caption" property of the volume.
So, I've tested a query in the swql studio and is seems fine. But when I try to simulate it (with the simulate button) inside the alert, it shows nothing.
This is the query in the alert:
${N=SWQL;M=SELECT case when n.Vendor like '%win%' then DeviceId ELSE v.caption end as vol
FROM Orion.Volumes as v INNER JOIN Orion.Nodes as n on v.NodeID = n.NodeID}
can someone help me to achive my goal in the alert?
Thanks