Forefront TMG Server: Remote Access - Service Monitor

Microsoft.Forefront.TMG.VPN.ServerComponent.VPNServiceMonitor (UnitMonitor)

Monitors the Remote Access Service on Forefront TMG Server

Element properties:

TargetMicrosoft.Forefront.TMG.VPN.ServerComponent
Parent MonitorSystem.Health.AvailabilityState
CategoryStateCollection
EnabledTrue
Alert GenerateTrue
Alert SeverityError
Alert PriorityHigh
Alert Auto ResolveTrue
Monitor TypeMicrosoft.Windows.CheckNTServiceStateMonitorType
RemotableTrue
AccessibilityPublic
Alert Message
Forefront TMG Server: Remote Access Service Monitor reports an error
The service is not running. Details:
Service Display Name: {0}
Service Name: {1}
Machine Name: {2}
Try to restart the service.
RunAsDefault

Source Code:

<UnitMonitor ID="Microsoft.Forefront.TMG.VPN.ServerComponent.VPNServiceMonitor" Accessibility="Public" Enabled="true" Target="Microsoft.Forefront.TMG.VPN.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.VPN.ServerComponent.VPNServiceMonitor.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/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/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<ServiceName>RemoteAccess</ServiceName>
<CheckStartupType>false</CheckStartupType>
</Configuration>
</UnitMonitor>