Web Sitesi kullanılabilirliği

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

Knowledge Base article:

Özet

Bu izleyici, IIS web sitelerinin durumunu denetler. Bu izleyiciden bir uyarı alırsanız, Web sitesini çalışır duruma döndürmek için eylem yapılması gerekir.

İşlemsel Durumlar:

IIS Web sitesi "Başlatıldı" veya "Durduruldu" işlemsel durumunda olabilir.

Yapılandırma

Bu izleyicinin yapılandırılabilir tek parametresi, web sitesinin durumunu denetlemek için kullanılan zaman aralığıdır.

Nedenler

Bir IIS Web sitesi aşağıdakiler dahil pek çok nedenden ötürü durabilir:

Çözümler

IIS Web sitesi durdurulmuşsa, aşağıdaki işlemleri yaparak sorunu tanılayabilir veya siteyi yeniden başlatabilirsiniz:

IIS Web Sitesini Başlat

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 Web Sitesi kullanılamıyor
{1} konumundaki {0} adlı IIS 8 web sitesi, site durdurulduğu için kullanılamıyor.
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>