SMS 编写器服务可用性监视器

Microsoft.SystemCenter2012.ConfigurationManager.SmsWriter.ServiceHealth (UnitMonitor)

此监视器检查 SMS 编写器服务的可用性状态。

Knowledge Base article:

摘要

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

原因

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

解决方法

如果 SMS_SITE_VSS_WRITER 服务未运行,则可以采取以下措施来诊断此问题或重新启动此服务:

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.PrimarySiteServerBaseClass
Parent MonitorMicrosoft.SystemCenter2012.ConfigurationManager.RoleAggregateMonitor
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
SMS 编写器服务没有运行
计算机 {1} 上的 {0} 服务未运行。
RunAsDefault
CommentSIV:BR0007

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.SmsWriter.ServiceHealth" Comment="SIV:BR0007" Accessibility="Public" Enabled="onEssentialMonitoring" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.PrimarySiteServerBaseClass" ParentMonitorID="Microsoft.SystemCenter2012.ConfigurationManager.RoleAggregateMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.SmsWriter.ServiceHealth_AlertMessageResourceID">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>MatchMonitorHealth</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>SMS_SITE_VSS_WRITER</ServiceName>
<CheckStartupType/>
</Configuration>
</UnitMonitor>