此監視會檢查 IIS 服務的可用性狀態。
此監視會檢查 IIS 網頁伺服器服務 (W3SVC) 的狀態。 如果您接收到此監視的警示,則需要採取動作才能讓服務恢復操作狀態。
此監視與 Internet Information Service 管理組件的 IIS 網頁伺服器服務監視相同。 如果該監視已啟用,則可停用此監視以避免重複的警示。
服務可能會因許多原因而停止,其中包括:
系統管理員停止該服務。
因為無法驗證使用者帳戶,所以導致服務無法啟動。
服務發生使該服務停止的例外狀況。
服務未正確設定,故無法啟動。
若 IIS 網頁伺服器服務 (W3SVC) 並未執行,您可以採取下列動作來診斷問題或重新啟動服務:
檢查可能已同時發生的其他與服務相關之警示。 這些警示可能有助於更精確找出服務進入「未執行」狀態的原因。
檢閱受管理電腦上的事件記錄檔,並修正可能使服務意外停止的任何潛在問題。
重新啟動服務。
Target | Microsoft.SystemCenter2012.ConfigurationManager.ApplicationWebService | ||
Parent Monitor | Microsoft.SystemCenter2012.ConfigurationManager.RoleAggregateMonitor | ||
Category | AvailabilityHealth | ||
Enabled | False | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.CheckNTServiceStateMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default | ||
Comment | SIV:GEN0245 |
<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.ApplicationWebService.IIS.ServiceHealth" Comment="SIV:GEN0245" Accessibility="Public" Enabled="false" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.ApplicationWebService" ParentMonitorID="Microsoft.SystemCenter2012.ConfigurationManager.RoleAggregateMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.ApplicationWebService.IIS.ServiceHealth_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='DisplayName']$</AlertParameter1>
<AlertParameter2>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</AlertParameter2>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</ComputerName>
<ServiceName>W3SVC</ServiceName>
<CheckStartupType/>
</Configuration>
</UnitMonitor>