記錄檔佇列的所有記錄檔記錄都已成功格式化,並移到適當格式的存放區

Microsoft.Forefront.TMG.All_log_records_from_the_log_queue_were_successfully_formatted_and_moved_to_the_appropriate_formatted_store.Rule (Rule)

當記錄檔佇列的所有記錄檔記錄都已成功格式化,並移到適當格式的存放區時,此規則會產生警示。

Knowledge Base article:

摘要

這與通知記錄檔產生速率超過記錄檔格式化速率的事件互補, 表示 Forefront 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.All_log_records_from_the_log_queue_were_successfully_formatted_and_moved_to_the_appropriate_formatted_store.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>^(23415)$</EventsPattern>
<EventType>1</EventType>
<SourcePattern>Microsoft Forefront TMG Control</SourcePattern>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WA" TypeID="Microsoft.Forefront.TMG.Rule.AlertGenerate.WA">
<AlertMessageId>$MPElement[Name="Microsoft.Forefront.TMG.All_log_records_from_the_log_queue_were_successfully_formatted_and_moved_to_the_appropriate_formatted_store.AlertMessage"]$</AlertMessageId>
<DomainName>$Target/Host/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DomainDnsName$</DomainName>
<Priority>0</Priority>
<Severity>0</Severity>
</WriteAction>
</WriteActions>
</Rule>