Collect Yarn Node Managers Rebooted

Microsoft.HDInsight.PerformanceRule.NodeManagersRebooted (Rule)

This rule collects number of rebooted Node Managers in HDInsight cluster.

Knowledge Base article:

Summary

Collects number of rebooted Node Managers in HDInsight cluster.

Element properties:

TargetMicrosoft.HDInsight.ClusterService.Yarn
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

ID Module Type TypeId RunAs 
DS DataSource Microsoft.HDInsight.Module.YarnServiceMetricsPerformanceDataSource Default
WriteToDB WriteAction Microsoft.SystemCenter.CollectPerformanceData Default
WriteToDW WriteAction Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData Default

Source Code:

<Rule ID="Microsoft.HDInsight.PerformanceRule.NodeManagersRebooted" Target="Microsoft.HDInsight.ClusterService.Yarn" Enabled="true" ConfirmDelivery="false">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.HDInsight.Module.YarnServiceMetricsPerformanceDataSource">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<PropertyName>yarn.numrebootednms</PropertyName>
<CounterName>Node Managers Rebooted</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>