TMG Server 無法查詢遠端存取服務的狀態

Microsoft.Forefront.TMG.ISA_Server_could_not_query_the_status_of_the_Remote_Access_Service.Rule (Rule)

當 TMG Server 無法查詢遠端存取服務的狀態時,此規則會產生警示

Knowledge Base article:

摘要

TMG Server 無法查詢遠端存取服務的狀態。

原因

服務控制管理員 (SCM) 無法報告路由及遠端存取服務的狀態。

解決方式

查看系統事件記錄檔中有無出自服務控制管理員 (SCM) 與路由及遠端存取服務的其他事件。

Element properties:

TargetMicrosoft.Forefront.TMG.VPN.ServerComponent
CategoryEventCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.Forefront.TMG.Rule.AlertGenerate.DS Default
WA WriteAction Microsoft.Forefront.TMG.Rule.AlertGenerate.WA Default

Source Code:

<Rule ID="Microsoft.Forefront.TMG.ISA_Server_could_not_query_the_status_of_the_Remote_Access_Service.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.VPN.ServerComponent" ConfirmDelivery="true" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.DS">
<ComputerName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<EventsPattern>^(21176)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Firewall</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.ISA_Server_could_not_query_the_status_of_the_Remote_Access_Service.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>2</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>