Forefront TMG Server: SQL Server (ISARS) - 服務監視

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

監視 Forefront TMG Server 上的 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 Server: 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>