DFS-R: Staging Bytes Generated

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

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

Knowledge Base article:

Summary

This rule queries the performance counter "DFS Replicated Folders\Staging Bytes Generated" on monitored computers every 15 minutes. This performance counter keeps track of the amount of data that was staged by the DFS Replication service for each folder replicated by the monitored computer. 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 Generated
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.StagingBytesGenerated" Enabled="true" Target="Microsoft.Windows.FileServer.DFSR.Service" ConfirmDelivery="true" 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 Generated</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>