forked from hmscott4/AlertManagement
-
Notifications
You must be signed in to change notification settings - Fork 0
Assign Alerts
randomnote1 edited this page Apr 22, 2021
·
1 revision
The Assign SCOM Alerts rule executes a powershell script on a timed schedule (default is 5 minutes) which assigns alerts to owners specified in the assign.alert.config file.
The assign.alert.config file is comprised of Rules and Exceptions.
Rules specify what owner should be assigned to all alerts in a management pack.
- Name: A logical group which is applied to the rules. This is used strictly for organizational purposes.
- enabled: Specifies if the rule is processed or not.
- managementPackName: The name (not the display name) of the management pack.
- Owner: The name of the owner to assign to the alert.
Assign all alerts from the Microsoft.SQLServer.Windows.Monitoring management pack to the DBA Team.
<Rule Name="SQLRule" enabled="true">
<managementPackName>Microsoft.SQLServer.Windows.Monitoring</managementPackName>
<Owner>DBA Team</Owner>
</Rule>Do not assign all the alerts from the Microsoft.Windows.Server.2016 management pack to the Windows Team.
<Rule Name="WindowsRule" enabled="false">
<managementPackName>Microsoft.Windows.Server.2016</managementPackName>
<Owner>Windows Team</Owner>
</Rule>- Name: A logical group which is applied to the exceptions. This is used strictly for organizational purposes.
- enabled: Specifies if the exception is processed or not.
- AlertName: The display name of the alert.
- Owner: The name of the owner to assign to the alert.
- AlertProperty: The property of the alert to filter on. Default is an empty string.
- AlertPropertyMatches: A string to compare against the specified property. Supports regular expressions.
Assign all the Health Service Heartbeat Failure alerts to the Windows Team.
<Exception Name="Health Service Exception" enabled="true">
<AlertName>Health Service Heartbeat Failure</AlertName>
<Owner>Windows Team</Owner>
<AlertProperty/>
<AlertPropertyMatches/>
</Exception>Assign the Percentage Logical Disk Free Space is low to the App Support team only when the monitoring object name matches D:, E:, or F:.
<Exception Name="ApplicationDrive" enabled="true">
<AlertName>Percentage Logical Disk Free Space is low</AlertName>
<Owner>App Support</Owner>
<AlertProperty>MonitoringObjectName</AlertProperty>
<AlertPropertyMatches>[DEF]:</AlertPropertyMatches>
</Exception>