DFS-R: Staging Bytes Cleaned Up

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

This rule queries the performance counter "DFS Replicated Folders\Staging Bytes Cleaned up" on monitored computers every 15 minutes.

Knowledge Base article:

Summary

This rule queries the performance counter "DFS Replicated Folders\Staging Bytes Cleaned up" on monitored computers every 15 minutes. This performance counter keeps track of the amount of data that was cleaned up from each replicated folder’s staging area by the DFS Replication service. Monitoring this performance counter enables administrators to understand the usage of each replicated folder’s staging area and figure out if the staging quotas need to be increased.

If this performance counter changes frequently, increase the staging folder quota to increase replication performance.

Additional

Edit the Quota Size of the Staging Folder and Conflict and Deleted Folder (http://go.microsoft.com/fwlink/?LinkId=186944)

Element properties:

TargetMicrosoft.Windows.FileServer.DFSR.Service
CategoryPerformanceCollection
EnabledTrue
Instance NameDFS Replicated Folders
Counter NameStaging Bytes Cleaned up
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.StagingBytesCleanedup" 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>Staging Bytes Cleaned up</CounterName>
<ObjectName>DFS Replicated Folders</ObjectName>
<InstanceName/>
<AllInstances>false</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>