Hey all - so we had a report that showed currently down nodes and their current downtime. worked great in 11.0.1 and when we upgraded to 11.5.2 most of our sql stuff broke. Is the below query still valid? because we currently have down nodes and the report isnt selecting anything.
SELECT
n.NodeID,n.Statusled,n.Caption,TriggerTimeStamp AS Event_Detected,DateDiff(hh,TriggerTimeStamp,GetDate()) AS Duration_In_Hours,
DateDiff(Mi,TriggerTimeStamp,GetDate()) AS Duration_In_Minutes
FROM AlertDefinitions ALD JOIN AlertStatus ALS ON ALD.AlertDefID=ALS.AlertDefID
JOIN Nodes n ON ALS.ActiveObject=n.NodeID
Where AlertName LIKE '%Down%' AND als.ObjectType='Node'
AND als.State=2