HI.
I got the following SQL query to use in my alert to trigger when a node has flapped 3 times in 1hour. This is working 100% but I need to filter the nodes by certain criteria which is a custom node property named "Technology".
This custom property must be one of the following... "Telkom ME" or "Vodacom ME" or "Vodacom MW".
Can someone help me to edit this query to also filter on the custom property?
SELECT Nodes.Caption, Nodes.NodeID FROM Nodes
In the SQL condition please paste
JOIN Events ON Nodes.NodeID = Events.NetObjectID
where eventtime >dateadd(hour,-1,getdate()) AND EventType = '1'
group by EventType, NodeID, Caption, Message
having count(*)>=3
Thank You