注册点的 IIS 已关闭

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

此监视器检查承载注册点角色的 IIS 服务器是否工作。

Knowledge Base article:

摘要

此监视器检查 IIS Web 服务器服务 (W3SVC) 的状态。 如果收到此监视器发出的警报,则必须采取措施以将服务恢复到操作状态。

此监视器与 Internet Information Service 管理包的 IIS Web 服务器服务监视器相同。 如果启用了该监视器,则可以禁用另一个监视器以避免出现重复警报。

原因

服务可能由于很多原因而停止,包括:

解决方法

如果 IIS Web 服务器服务 (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>