We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a08eff3 commit 529ac3eCopy full SHA for 529ac3e
1 file changed
SQL Queries/OperationsManager/Alerts_Active.sql
@@ -0,0 +1,18 @@
1
+SELECT
2
+ SUM(1) As AlertCount,
3
+ AV.AlertStringName,
4
+ AV.AlertStringDescription,
5
+ AV.Name,
6
+ AV.MonitoringRuleId,
7
+ MAX(AV.LastModified) AS LastModified
8
+FROM
9
+ Alertview AS AV WITH (NOLOCK)
10
+WHERE
11
+ AV.TimeRaised is not NULL and AV.ResolutionState <> 255
12
+GROUP BY
13
14
15
16
+ AV.Name
17
+ORDER BY
18
+ AlertCount, LastModified DESC
0 commit comments