Microsoft Azure Stack Hub alerts synchronization rule creates alerts related to the regions and initiates closure of the alerts closed in Azure Stack Hub.
The rule creates alerts related to the regions and initiates automatic closure of the alerts closed in Azure Stack Hub.
Alerts are automatically closed after the set period.
See descriptions of the corresponding alerts.
See descriptions of the corresponding alerts.
Target | Microsoft.SystemCenter.AzureStack.Region |
Category | Alert |
Enabled | True |
Alert Generate | True |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SystemCenter.AzureStack.Region.Alerts.DS | Default |
Alert | WriteAction | System.Health.GenerateAlert | Default |
<Rule ID="Microsoft.SystemCenter.AzureStack.Region.Alerts.Rule" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.Region" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>Alert</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SystemCenter.AzureStack.Region.Alerts.DS">
<DeploymentId>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<TimeoutSeconds>30</TimeoutSeconds>
<IntervalSeconds>180</IntervalSeconds>
<RegionId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="Alert" TypeID="Health!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>$Data/Property[@Name='SeverityInteger']$</Severity>
<AlertName/>
<AlertDescription/>
<AlertOwner/>
<AlertMessageId>$MPElement[Name='Microsoft.SystemCenter.AzureStack.Region.Alerts.Rule.AlertMessage']$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/Property[@Name='Id']$</AlertParameter1>
<AlertParameter2>$Data/Property[@Name='Name']$</AlertParameter2>
<AlertParameter3>$Data/Property[@Name='Severity']$</AlertParameter3>
<AlertParameter4>$Data/Property[@Name='SeverityInteger']$</AlertParameter4>
<AlertParameter5>$Data/Property[@Name='AzureStackCreatedTime']$</AlertParameter5>
<AlertParameter6>$Data/Property[@Name='Description']$</AlertParameter6>
<AlertParameter7>$Data/Property[@Name='Remediation']$</AlertParameter7>
</AlertParameters>
<Suppression>
<SuppressionValue>$Data/Property[@Name='Id']$</SuppressionValue>
</Suppression>
<Custom1>RegionAlert</Custom1>
<Custom2>0</Custom2>
<Custom3>$Data/Property[@Name='Id']$</Custom3>
<Custom4>$Data/Property[@Name='AzureStackCreatedTime']$</Custom4>
<Custom5>$Data/Property[@Name='Description']$</Custom5>
<Custom6>$Data/Property[@Name='Remediation']$</Custom6>
<Custom7>$Data/Property[@Name='Name']$</Custom7>
</WriteAction>
</WriteActions>
</Rule>