Microsoft Azure Stack Update State Monitor

Microsoft.SystemCenter.AzureStack.Update.State.Monitor (UnitMonitor)

Microsoft Azure Stack update state monitor. This monitor checks the update state.

Knowledge Base article:

Summary

The monitor checks update state. If the update is in the "Failed" state, the monitor is switched to the "Warning" state. When the update is in the "Success" or "Ready" state, the monitor is switched to the "Healthy" state. If the update is in any other state, the monitor remains in its previous state.

Causes

Update failed.

Resolutions

Try to reinstall the update.

Element properties:

TargetMicrosoft.SystemCenter.AzureStack.Update
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.AzureStack.Update.State.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Update has failed

Update {0} is in a "Failed" state.

Region: {1}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.AzureStack.Update.State.Monitor" TypeID="Microsoft.SystemCenter.AzureStack.Update.State.MonitorType" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.Update" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.AzureStack.Update.State.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Update"]/Name$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Name$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<DeploymentId>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<TimeoutSeconds>60</TimeoutSeconds>
<IntervalSeconds>3600</IntervalSeconds>
<RegionId>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
<UpdateId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Update"]/Id$</UpdateId>
<DefaultRegion>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/Region$</DefaultRegion>
<Region>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Name$</Region>
<Update>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Update"]/Name$</Update>
</Configuration>
</UnitMonitor>