Microsoft Azure Stack Hub Alerts Sync Rule (Operations Manager to Azure Stack Hub)

Microsoft.SystemCenter.AzureStack.Region.StackAlertsAutoClose.Rule (Rule)

Microsoft Azure Stack Hub alerts synchronization rule initiates closure of the alerts closed in the Operations Manager.

Knowledge Base article:

Summary

Microsoft Azure Stack Hub region alerts autoclose rule initiates automatic closure of the alerts closed in the Operations Manager.

Configuration

Alerts are automatically closed after the set period.

Causes

See descriptions of the corresponding alerts.

Element properties:

TargetMicrosoft.SystemCenter.AzureStack.Region
CategoryAlert
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Trigger DataSource Microsoft.SystemCenter.AzureStack.OverridableTimer.DS Default
Write WriteAction Microsoft.SystemCenter.AzureStack.Region.StackAlertsAutoClose.WA Default

Source Code:

<Rule ID="Microsoft.SystemCenter.AzureStack.Region.StackAlertsAutoClose.Rule" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.Region" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="Trigger" TypeID="Microsoft.SystemCenter.AzureStack.OverridableTimer.DS">
<IntervalSeconds>30</IntervalSeconds>
<SyncTime/>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Write" TypeID="Microsoft.SystemCenter.AzureStack.Region.StackAlertsAutoClose.WA">
<DeploymentId>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<RegionId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
<TimeoutSeconds>30</TimeoutSeconds>
<Wildcards>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Wildcards$</Wildcards>
</WriteAction>
</WriteActions>
</Rule>