TFTP 服务可用性监视器

Microsoft.SystemCenter2012.ConfigurationManager.PxeServicePoint.TFTP.ServiceHealth (UnitMonitor)

此监视器检查日常文件传输协议(TFTP)服务的可用性状态。

Knowledge Base article:

摘要

此监视器检查日常文件传输协议 (TFTP) 服务的可用性状态。 如果 TFTP 服务不可用,它将生成警报。

原因

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

解决方法

Element properties:

TargetMicrosoft.SystemCenter2012.ConfigurationManager.SystemService
Parent MonitorSystem.Health.AvailabilityState
CategoryAvailabilityHealth
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
TFTP 服务没有运行
计算机 {1} 上的 {0} 服务未运行。
RunAsDefault
CommentSIV:COSD0026

Source Code:

<UnitMonitor ID="Microsoft.SystemCenter2012.ConfigurationManager.PxeServicePoint.TFTP.ServiceHealth" Comment="SIV:COSD0026" Accessibility="Public" Enabled="onEssentialMonitoring" Target="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.SystemService" ParentMonitorID="SystemHealth!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.SystemCenter2012.ConfigurationManager.PxeServicePoint.TFTP.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>$Target/Property[Type="SCCM!Microsoft.SystemCenter2012.ConfigurationManager.SystemService"]/ServiceName$</ServiceName>
<CheckStartupType/>
</Configuration>
</UnitMonitor>