Collect Number of active Applications

Ambari.SCOM.PerformanceRule.ResourceManagerActiveApplications (Rule)

This rule collects number of active Applications.

Knowledge Base article:

Summary

Collects Number of active Applications.

Element properties:

TargetAmbari.SCOM.ClusterService.Yarn
CategoryPerformanceCollection
EnabledTrue
Alert GenerateFalse
RemotableTrue

Member Modules:

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

Source Code:

<Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerActiveApplications" Target="Ambari.SCOM.ClusterService.Yarn" Enabled="true" ConfirmDelivery="false">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Ambari.SCOM.Module.YarnServiceMetricsPerformanceDataSource">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<PropertyName>yarn.queue.root.activeapplications</PropertyName>
<CounterName>ActiveApplications</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>