Disponibilidade do site

Microsoft.Windows.InternetInformationServices.10.0.WebSite.WebSiteStatusCheck.Monitor (UnitMonitor)

Knowledge Base article:

Resumo

Este monitor verifica o status dos sites do IIS. Se receber um alerta desse monitor, será necessária uma ação para colocar o site novamente em um estado operacional.

Estados operacionais:

Um site do IIS pode estar no estado operacional "Iniciado" ou "Parado".

Configuração

O único parâmetro configurável desse monitor é o intervalo de tempo usado para verificar o status do site.

Causas

Um site do IIS pode parar por muitas razões, inclusive:

Resoluções

Se o site do IIS tiver parado, diagnostique o problema ou reinicie o site executando as seguintes ações:

Inicie o site do IIS

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.10.0.WebSite
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.IIS.IISWebSiteStateMonitor.10
RemotableFalse
AccessibilityPublic
Alert Message
O site do IIS 10 não está disponível
O site do IIS 10 denominado {0} em {1} não está disponível, pois o site foi parado.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.10.0.WebSite.WebSiteStatusCheck.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.10.0.WebSite" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.IIS.IISWebSiteStateMonitor.10" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.10.0.WebSite.WebSiteStatusCheck.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Property[Type="System!System.Entity"]/DisplayName$</AlertParameter1>
<AlertParameter2>$Target/Host/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Started" MonitorTypeStateID="Started" HealthState="Success"/>
<OperationalState ID="Stopped" MonitorTypeStateID="Stopped" HealthState="Error"/>
</OperationalStates>
<Configuration>
<PeriodInSeconds>60</PeriodInSeconds>
<SiteID>$Target/Property[Type="IISCommon!Microsoft.Windows.InternetInformationServices.WebSite"]/SiteID$</SiteID>
</Configuration>
</UnitMonitor>