Forefront TMG Server: 存放區 - 服務監視
Microsoft.Forefront.TMG.EnterpriseManagement.ServerRole.StorageServiceMonitor (UnitMonitor)
監視 Forefront TMG Enterprise Managemenr Server 上的 ADAM 存放區服務
Element properties:
Source Code:
<UnitMonitor ID="Microsoft.Forefront.TMG.EnterpriseManagement.ServerRole.StorageServiceMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Forefront.TMG.EnterpriseManagement.ServerRole" ParentMonitorID="Health!System.Health.AvailabilityState" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.CheckNTServiceStateMonitorType" ConfirmDelivery="false">
<Category>StateCollection</Category>
<AlertSettings AlertMessage="Microsoft.Forefront.TMG.EnterpriseManagement.ServerRole.StorageServiceMonitor.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>ADAM_ISASTGCTRL</ServiceName>
<CheckStartupType>true</CheckStartupType>
</Configuration>
</UnitMonitor>