World Wide Web 発行サービスの可用性

Microsoft.Windows.InternetInformationServices.2008.WebServer.NTService.CheckServiceState.Monitor (UnitMonitor)

Knowledge Base article:

[概要]

このモニターは、IIS Web サーバー サービス (W3SVC) の状態をチェックします。このモニターから警告を受け取った場合は、サービスを動作状態に戻すための操作が必要になります。

動作状態:

IIS Web サーバー サービス (W3SVC) の動作状態には、"サービスを実行しています" と "サービスは実行されていません" があります。

構成

このモニターは、スタートアップの種類が "自動" に設定されていない場合にサービスを監視するかどうかを制御する単一の構成パラメーターを受け取ります。既定では、サービスは、スタートアップの種類が "自動" に設定されている場合にのみ監視されます。この設定は必要に応じて調整できます。

原因

サービスは、次のようなさまざまな理由で停止することがあります。

解決方法

IIS Web サーバー サービス (W3SVC) の動作状態が "サービスは実行されていません" の場合、次の操作を行って、問題を診断したり、サービスを再起動したりできます。

Web サーバー サービス (W3SVC) の開始

Element properties:

TargetMicrosoft.Windows.InternetInformationServices.2008.WebServer
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
IIS 7 Web サーバーは利用できません
{0} 上の IIS 7Web サーバーは利用できません。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Windows.InternetInformationServices.2008.WebServer.NTService.CheckServiceState.Monitor" Accessibility="Public" Enabled="onEssentialMonitoring" Target="Microsoft.Windows.InternetInformationServices.2008.WebServer" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.InternetInformationServices.2008.WebServer.NTService.CheckServiceState.Monitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter1>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>W3SVC</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>