Microsoft Azure insights alert rule incidents monitor.
The monitor changes the state of the alert rule depending on the information received from Azure event log.
If the latest received event corresponds to opening of the alert, the state of the alert rule changes to unhealthy. The state of the alert rule switches to healthy only if the latest received event corresponds to closing of the alert. Therefore, upon initial activation of the monitor, the alert rule will remain in healthy state until a corresponding event is received. At that, the state of the alert rule is displayed as healthy if the alert rule is disabled.
An alert condition configured in Microsoft Azure is active
Target | Microsoft.SystemCenter.MicrosoftAzure.Insights.AlertRule | ||
Parent Monitor | System.Health.AvailabilityState | ||
Category | StateCollection | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | MatchMonitorHealth | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.SystemCenter.MicrosoftAzure.Insights.AlertRule.Incident.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.MicrosoftAzure.Insights.AlertRule.Incident.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.MicrosoftAzure.Insights.AlertRule" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Microsoft.SystemCenter.MicrosoftAzure.Insights.AlertRule.Incident.MonitorType" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.MicrosoftAzure.Insights.AlertRule.Incident.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.AzureServiceGeneric"]/ServiceName$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.MicrosoftAzure.Subscription"]/SubscriptionId$</AlertParameter2>
<AlertParameter3>$Target/Host/Host/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter3>
<AlertParameter4>$Data/Context/Property[@Name='ResourceUri']$</AlertParameter4>
<AlertParameter5>$Data/Context/Property[@Name='Description']$</AlertParameter5>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Critical" MonitorTypeStateID="Critical" HealthState="Error"/>
</OperationalStates>
<Configuration>
<TimeoutSeconds>300</TimeoutSeconds>
<IntervalSeconds>30</IntervalSeconds>
<SyncTime/>
</Configuration>
</UnitMonitor>