When I look at a Node with a critical status in the user interface, the interface says:
Active Alerts on This Node (5)
ALL UNACKNOWLEDGED ALERTS
when I use the API it says the Node doesn't have any Orion.ActiveAlerts:
SELECT n.ActiveAlerts.AlertID FROM Orion.Nodes n WHERE n.NodeID = '__NODEID__'
returns null. The rest of the Orion.Nodes fields for the Node are fine. None of its AlertObjects are active alerts either.
Is there a way to use the API to find all active alerts for a Node?