註冊點的 IIS 已關閉

Microsoft.SystemCenter2012.ConfigurationManager.EnrollmentPoint.IIS.ServiceHealth (UnitMonitor)

此監視會檢查裝載註冊點角色的 IIS 伺服器是否正在運作。

Knowledge Base article:

摘要

此監視會檢查 IIS 網頁伺服器服務 (W3SVC) 的狀態。 如果您接收到此監視的警示,則需要採取動作才能讓服務恢復操作狀態。

此監視與 Internet Information Service 管理組件的 IIS 網頁伺服器服務監視相同。 如果該監視已啟用,則可停用此監視以避免重複的警示。

原因

服務可能會因許多原因而停止,其中包括:

解決方式

若 IIS 網頁伺服器服務 (W3SVC) 並未執行,您可以採取下列動作來診斷問題或重新啟動服務:

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.EnrollmentPoint
Parent MonitorMicrosoft.SystemCenter2012.ConfigurationManager.RoleAggregateMonitor
CategoryAvailabilityHealth
EnabledFalse
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
註冊點上的 IIS 服務未執行
電腦 {1} 上的 {0} 服務並未執行。
RunAsDefault
CommentSIV:DM0035

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.EnrollmentPoint.IIS.ServiceHealth" Comment="SIV:DM0035" Accessibility="Public" Enabled="false" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.EnrollmentPoint" ParentMonitorID="Microsoft.SystemCenter2012.ConfigurationManager.RoleAggregateMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.EnrollmentPoint.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>