检索 TMG 服务器日志目录的操作失败

Microsoft.Forefront.TMG.The_action_to_retrieve_the_ISA_Server_log_directory_failed.Rule (Rule)

如果检索 TMG 服务器日志目录的操作失败,此规则将生成警报

Knowledge Base article:

摘要

TMG 服务器报告生成程序无法从配置存储服务器中检索日志记录配置。 因此,无法创建每日日志摘要。 如果生成当天的报告,则不包含来自此服务器的数据。

原因

发生此失败的原因有以下几种:

解决方法

Element properties:

TargetMicrosoft.Forefront.TMG.Logging.TextFile
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.The_action_to_retrieve_the_ISA_Server_log_directory_failed.Rule" Enabled="true" Target="Microsoft.Forefront.TMG.Logging.TextFile" 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>^(21001)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Report Generator</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.The_action_to_retrieve_the_ISA_Server_log_directory_failed.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>2</Priority>
<Severity>2</Severity>
</WriteAction>
</WriteActions>
</Rule>