Microsoft Azure Stack Hub Region Pending Updates Monitor

Microsoft.SystemCenter.AzureStack.Region.PendingUpdates.Monitor (UnitMonitor)

Microsoft Azure Stack Hub pending updates monitor for the regions. Monitors checks if the region has the most recent software installed.

Knowledge Base article:

Summary

Microsoft Azure Stack Hub pending updates monitor for the regions. Monitors checks if the region has the most recent software installed.

Configuration

By default, the monitor is switched to the “Warning” state if at least one software update available and not installed yet.

Causes

Not installed software version.

Resolutions

Update Azure Stack Hub software.

Element properties:

TargetMicrosoft.SystemCenter.AzureStack.Region
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.SystemCenter.AzureStack.Region.PendingUpdates.MonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Region has pending updates

Update {1} is missing for region {0}
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter.AzureStack.Region.PendingUpdates.Monitor" TypeID="Microsoft.SystemCenter.AzureStack.Region.PendingUpdates.MonitorType" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.Region" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.AzureStack.Region.PendingUpdates.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Name$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='AvailableUpdate']$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<DeploymentId>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<TimeoutSeconds>120</TimeoutSeconds>
<IntervalSeconds>14400</IntervalSeconds>
<RegionId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
<DefaultRegion>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/Region$</DefaultRegion>
<CurrentVersion>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/UpdateVersion$</CurrentVersion>
</Configuration>
</UnitMonitor>