Forefront TMG 服务器: 防火墙 - 服务监视器

Microsoft.Forefront.TMG.Server.FirewallServiceMonitor (UnitMonitor)

监视 Forefront TMG 服务器上的防火墙服务

Element properties:

TargetMicrosoft.Forefront.TMG.Server
Parent MonitorMicrosoft.Forefront.TMG.Server.FirewallSvcRollupMonitor
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Forefront TMG 服务器: 防火墙服务监视器报告了一个错误
服务没有运行。 详细信息: 服务显示名称: {0} 服务名称: {1} 计算机名称: {2} 尝试重新启动此服务。
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Forefront.TMG.Server.FirewallServiceMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Forefront.TMG.Server" ParentMonitorID="Microsoft.Forefront.TMG.Server.FirewallSvcRollupMonitor" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Forefront.TMG.Server.FirewallServiceMonitor.AlertMessage">
<AlertOnState>Error</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>High</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
<AlertParameters>
<AlertParameter1>$Data/Context/Property[@Name='DisplayName']$</AlertParameter1>
<AlertParameter2>$Data/Context/Property[@Name='Name']$</AlertParameter2>
<AlertParameter3>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</AlertParameter3>
</AlertParameters>
</AlertSettings>
<OperationalStates>
<OperationalState ID="NotRunning" MonitorTypeStateID="NotRunning" HealthState="Error"/>
<OperationalState ID="Running" MonitorTypeStateID="Running" HealthState="Success"/>
</OperationalStates>
<Configuration>
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>fwsrv</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>