Hi,
I am in need of creating an exact duplicate "Active Alerts View", but also need to filter the alerts to specific type of alerts. This is because the View Limitation can not filter by Specific Alerts, and I can't use the Accounts alerts limitation category because everyone logs into the same group.
Short story, I found a SWQL query here for it, but I can't seem to find the "Active Time".. any ideas where this is located, or how I can get Active Time to display as in Active Alerts View?
SELECT
o.AlertConfigurations.Name AS [ALERT NAME]
,'/Orion/NetPerfMon/ActiveAlertDetails.aspx?NetObject=AAT:' + ToString(o.AlertObjectID) AS [_LinkFor_ALERT NAME]
,o.AlertActive.TriggeredMessage AS [ALERT MESSAGE]
,o.EntityCaption AS [ALERT OBJECT]
,o.EntityDetailsURL AS [_LinkFor_ALERT OBJECT]
,ToLocal(o.AlertActive.TriggeredDateTime) AS [ALERT TRIGGER TIME]
,o.RelatedNodeCaption AS [RELATED NODE]
,o.RelatedNodeDetailsURL AS [_LinkFor_RELATED NODE]
FROM Orion.AlertObjects o
WHERE o.AlertActive.TriggeredMessage <> '' and o.AlertConfigurations.Name = 'Critical'
A bonus, anyone knows how to add the icons or color as well?