Would like to show a bar graph (or other visual) that depicts the count of all alerts that fired for each alert irrespective of Node.
Eg. High CPU Alert - 45 times in last 30 days
High Memory Alert - 22 times in last 30 days
Any thoughts?
So, just something like this?
SELECT COUNT([AH].AlertHistoryID) AS TriggeredCount , [AH].MessageFROM Orion.AlertHistory AS [AH]WHERE [AH].EventType = 0 AND [AH].TimeStamp >= GETUTCDATE() - 30GROUP BY [AH].MessageORDER BY COUNT([AH].AlertHistoryID) DESC
So you are just looking for a summary report based on the OOTB Triggered Alerts - Last 30 Days?
Not a list of all alerts, just a summary count for each alert that fired. Preferably something I can put into a graphic for my leadership.
Perfect, thanks.