某些快取檔案不一致

Microsoft.Forefront.TMG.There_is_inconsistency_in_some_cache_files.Rule (Rule)

當某些快取檔案不一致時,此規則會產生警示

Knowledge Base article:

摘要

部分快取檔案中有不一致的資料。

原因

初始化快取時,偵測到部分快取檔案是來自先前的快取設定。

解決方式

刪除快取磁碟機上位於 URLCache 目錄下的快取檔案。

Element properties:

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