クライアント監視 Cab ファイルおよび状態ファイル トリマ ルール

Microsoft.SystemCenter.CM.AEM.Internal.CabAndStatusFileTrimmer (Rule)

このルールは、クライアント監視のファイル共有の Cab ファイルと状態ファイルを定期的にトリミングします。

Knowledge Base article:

概要

このルールは、クライアント監視のファイル共有の Cab ファイルと状態ファイルを定期的にクリーンアップするために、内部的に使用されます。このルールは、監視に悪影響を与えるため、上書きしないでください。

原因

このセクションは、この種類のルールには適用されません。

解決方法

この種類のルールには、ユーザーの操作は必要ありません。

Element properties:

TargetMicrosoft.SystemCenter.CM.AEM.CrashListener
CategoryOperations
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
Scheduler DataSource System.Scheduler Default
FSWA WriteAction Microsoft.SystemCenter.CM.AEM.Internal.FileShareWA Default

Source Code:

<Rule ID="Microsoft.SystemCenter.CM.AEM.Internal.CabAndStatusFileTrimmer" Target="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener" Enabled="true" ConfirmDelivery="true">
<Category>Operations</Category>
<DataSources>
<DataSource ID="Scheduler" TypeID="System!System.Scheduler">
<Scheduler>
<SimpleReccuringSchedule>
<Interval Unit="Days">1</Interval>
</SimpleReccuringSchedule>
<ExcludeDates/>
</Scheduler>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="FSWA" TypeID="Microsoft.SystemCenter.CM.AEM.Internal.FileShareWA">
<FileShareConfiguration>
<Location>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/SharePath$</Location>
<Validate>false</Validate>
<PolicyTextUrl>$Target/Property[Type="AEMLib!Microsoft.SystemCenter.CM.AEM.CrashListener"]/PolicyResponseUrl$</PolicyTextUrl>
<TrimCabsNotTouchedInDays>90</TrimCabsNotTouchedInDays>
<TrimStatusFilesNotTouchedInDays>90</TrimStatusFilesNotTouchedInDays>
</FileShareConfiguration>
</WriteAction>
</WriteActions>
</Rule>