Forefront TMG 服务器: SQL Server (ISARS) - 服务监视器

Microsoft.Forefront.TMG.Reporting.ServerComponent.ReportingDBServiceMonitor (UnitMonitor)

监视 Forefront TMG 服务器上的 SQL Server (ISARS) 服务

Element properties:

TargetMicrosoft.Forefront.TMG.Reporting.ServerComponent
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityMatchMonitorHealth
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Forefront TMG 服务器: SQL Server (ISARS) 服务监视器报告了一个错误
服务没有运行。 详细信息: 服务显示名称: {0} 服务名称: {1} 计算机名称: {2} 尝试重新启动此服务。
RunAsDefault

Source Code:

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