I am trying to get node details related to the alert. In forum questions, they do inner join of AlertStatus.ActiveObject and Nodes.NodeID. The question is 1) what is the significance of ActiveObject in AlertStatus table, 2) Can I join AlertStatus and Nodes using ActiveObject and NodeId to get Node details? (3) How to get all the required datas related to the given alert?
The following query is used in forums. Please explain this.
SELECT AlertDefID,ActiveObject,ObjectType,ObjectName, State,AlertMessage, TriggerTimeStamp,AlertObjectID FROM Orion.AlertStatus INNER JOIN Orion.Nodes ON AlertStatus.ActiveObject = Nodes.NodeID