如果检索 TMG 服务器日志目录的操作失败,此规则将生成警报
TMG 服务器报告生成程序无法从配置存储服务器中检索日志记录配置。 因此,无法创建每日日志摘要。 如果生成当天的报告,则不包含来自此服务器的数据。
发生此失败的原因有以下几种:
配置存储服务器无响应。
连接问题使 TMG 服务器报告生成程序无法访问配置存储服务器。
配置存储服务器中的数据已损坏
检查配置存储服务器计算机是否可用。
尝试使用 Active Directory 服务接口编辑器连接到配置存储服务器(运行 adsvw)
请尝试还原最新的配置备份。 这将解决存储损坏问题。
Target | Microsoft.Forefront.TMG.Logging.TextFile |
Category | EventCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.Forefront.TMG.Rule.AlertGenerate.DS | Default |
WA | WriteAction | Microsoft.Forefront.TMG.Rule.AlertGenerate.WA | Default |
<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>