Microsoft Azure Stack Hub App Service Role Instance state monitor. This monitor checks the App Service Role Instance state.
The monitor checks app service role instance state. If the app service role instance is in the Offline/Not Ready/Installing state, the monitor is switched to the "Warning" state. When the app service role instance is in the Ready state, the monitor is switched to the "Healthy" state. If the app service role instance is in any other state, the monitor remains in its previous state.
App Service Role Instance is in Offline/Not Ready/Installing state.
Check if App Service Role Instance is available and working correctly.
Target | Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance | ||
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.AzureStack.WebAppsRoleInstance.State.MonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance.State.Monitor" TypeID="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance.State.MonitorType" Accessibility="Public" Enabled="true" Target="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" ConfirmDelivery="true">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance.State.Monitor.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance"]/Name$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Name$</AlertParameter2>
<AlertParameter3>$Target/Host/Property[Type="Microsoft.SystemCenter.AzureStack.WebAppsRole"]/Name$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Healthy" MonitorTypeStateID="Healthy" HealthState="Success"/>
<OperationalState ID="Warning" MonitorTypeStateID="Warning" HealthState="Warning"/>
</OperationalStates>
<Configuration>
<DeploymentId>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/EndpointUrl$</DeploymentId>
<TimeoutSeconds>120</TimeoutSeconds>
<IntervalSeconds>900</IntervalSeconds>
<RegionId>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/RegionId$</RegionId>
<RegionName>$Target/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Region"]/Name$</RegionName>
<DefaultRegion>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/Region$</DefaultRegion>
<WebAppsRoleInstanceId>$Target/Property[Type="Microsoft.SystemCenter.AzureStack.WebAppsRoleInstance"]/Id$</WebAppsRoleInstanceId>
<WebAppServiceEndpointUrl>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/WebAppServiceEndpointUrl$</WebAppServiceEndpointUrl>
<WebAppServiceApiVersion>$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/WebAppServiceApiVersion$</WebAppServiceApiVersion>
<OverrideWebAppServiceEndpointUrl>
$Target/Host/Host/Host/Property[Type="Microsoft.SystemCenter.AzureStack.Deployment"]/OverrideWebAppServiceEndpointUrl$
</OverrideWebAppServiceEndpointUrl>
</Configuration>
</UnitMonitor>