웹 사이트 가용성

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

Knowledge Base article:

요약

이 모니터는 IIS 웹 사이트의 상태를 확인합니다. 이 모니터의 경고를 수집하면 웹 사이트를 작동 상태로 전환하기 위한 조치가 필요합니다.

작동 상태:

IIS 웹 사이트는 "시작됨" 또는 "중지됨" 작동 상태일 수 있습니다.

구성

이 모니터에 대해 구성 가능한 매개 변수는 웹 사이트 상태를 확인하는 데 사용되는 시간 간격뿐입니다.

원인

IIS 웹 사이트는 다음과 같은 다양한 이유로 인해 중지될 수 있습니다.

해결 방법

IIS 웹 사이트가 중지된 경우 다음 작업을 수행하여 문제를 진단하거나 사이트를 다시 시작할 수 있습니다.

IIS 웹 사이트 시작

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.6.2.WebSite
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.Server.IIS.IISWebSiteStateMonitor.8
RemotableFalse
AccessibilityPublic
Alert Message
IIS 8 웹 사이트를 사용할 수 없습니다.
{1}에서 이름이 {0}인 IIS 8 웹 사이트가 중지되었으므로 사용할 수 없습니다.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.6.2.WebSite.WebSiteStatusCheck.Monitor" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.InternetInformationServices.6.2.WebSite" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="false" Priority="Normal" TypeID="Microsoft.Windows.Server.IIS.IISWebSiteStateMonitor.8" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.6.2.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>