AD Replication Performance Collection - Metric Replication Latency
AD_Replication_Monitoring.PerformanceCollection_1 (Rule)
See rule knowledge on how to enable this collection
Element properties:
Member Modules:
Source Code:
<Rule ID="AD_Replication_Monitoring.PerformanceCollection_1" Enabled="onStandardMonitoring" Target="AD2008Core!Microsoft.Windows.Server.2008.AD.DomainControllerRole" ConfirmDelivery="false" Remotable="false" Priority="Normal" DiscardLevel="100">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="ScriptDS" TypeID="AD_Replication_Monitoring.PerfDataSource">
<IntervalSeconds>900</IntervalSeconds>
<TargetComputerFQDNName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</TargetComputerFQDNName>
<TargetComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetbiosComputerName$</TargetComputerName>
<TargetFQDN>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/DNSName$</TargetFQDN>
<LogSuccessEvent>false</LogSuccessEvent>
<ObjectUpdateThreshold>24</ObjectUpdateThreshold>
<IntersiteExpectedMaxLatency>15</IntersiteExpectedMaxLatency>
<IntrasiteExpectedMaxLatency>5</IntrasiteExpectedMaxLatency>
<ChangeInjectionFrequency>6</ChangeInjectionFrequency>
<MonitorDomainNC>true</MonitorDomainNC>
<MonitorConfigNC>false</MonitorConfigNC>
<MonitorApplicationPartitions>true</MonitorApplicationPartitions>
<FirstReplicationPeriod>24</FirstReplicationPeriod>
<ManagementGroupName>$Target/ManagementGroup/Id$</ManagementGroupName>
<TimeoutSeconds>300</TimeoutSeconds>
</DataSource>
</DataSources>
<ConditionDetection ID="FilterPerf" TypeID="AD!PerfFilterMapper">
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery Type="String">CounterName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value Type="String">Replication Latency</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<ObjectName>$Data/ObjectName$</ObjectName>
<CounterName>$Data/CounterName$</CounterName>
<InstanceName>$Data/InstanceName$</InstanceName>
<Value>$Data/Value$</Value>
</ConditionDetection>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>