Forefront TMG 服务器: SQL Server (ISARS) - 服务监视器
Microsoft.Forefront.TMG.Reporting.ServerComponent.ReportingDBServiceMonitor (UnitMonitor)
监视 Forefront TMG 服务器上的 SQL Server (ISARS) 服务
Element properties:
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>