Beschikbaarheid website

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

Knowledge Base article:

Samenvatting

Met deze monitor wordt de status van de IIS-websites gecontroleerd. Als u een waarschuwing ontvangt van deze monitor is er actie vereist om de website terug naar de operationele status te brengen.

Operationele statussen:

De operationele status van een IIS-website kan "Gestart" of "Gestopt" zijn.

Configuratie

De enige configureerbare parameter van deze monitor is het tijdsinterval dat wordt gebruikt om de status van de website te controleren.

Oorzaken

Er kan een groot aantal redenen zijn waarom een IIS-website is gestopt, bijvoorbeeld:

Oplossingen

Als een IIS-website is gestopt, kunt u een diagnose van het probleem stellen of website opnieuw starten door de volgende acties:

IIS-website starten

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-website is niet beschikbaar
De IIS 8-website met de naam {0} op {1} is niet beschikbaar omdat de site is gestopt.
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>