DFS-R:使用中的已刪除空間

Microsoft.Windows.FileServer.DFSR.DeletedSpaceInUse (Rule)

此規則每 15 分鐘會在受監視的電腦上查詢效能計數器「DFS 複寫資料夾\使用中的已刪除空間」。

Knowledge Base article:

摘要

此規則每 15 分鐘會在受監視的電腦上查詢效能計數器「DFS 複寫資料夾\使用中的已刪除空間」。監視 [因衝突而刪除] 區域的空間使用率可協助確保有足夠的空間儲存從受監視電腦上的複寫資料夾中刪除的複寫衝突和檔案。透過檢視 DfsrPrivate 資料夾中的 ConflictandDeletedManifest.xml 檔案,您可以檢視衝突檔案的記錄檔及其原始的檔案名稱。

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.Service
CategoryPerformanceCollection
EnabledTrue
Instance NameDFS Replicated Folders
Counter NameDeleted Space In Use
Frequency900
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource System.Performance.OptimizedDataProvider Microsoft.Windows.FileServer.DFSR.MonitoringAccount
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.Windows.FileServer.DFSR.DeletedSpaceInUse" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Service" ConfirmDelivery="false" Remotable="true" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" RunAs="Microsoft.Windows.FileServer.DFSR.MonitoringAccount" TypeID="Performance!System.Performance.OptimizedDataProvider">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<CounterName>Deleted Space In Use</CounterName>
<ObjectName>DFS Replicated Folders</ObjectName>
<InstanceName/>
<AllInstances>true</AllInstances>
<Frequency>900</Frequency>
<Tolerance>0</Tolerance>
<ToleranceType>Absolute</ToleranceType>
<MaximumSampleSeparation>1</MaximumSampleSeparation>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>