Collect HDFS Files Appended

Ambari.SCOM.PerformanceRule.HdfsFilesAppended (Rule)

This rule collects number of files appended in the HDFS.

Knowledge Base article:

Summary

Collects number of files appended in the HDFS.

Element properties:

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

Member Modules:

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

Source Code:

<Rule ID="Ambari.SCOM.PerformanceRule.HdfsFilesAppended" Target="Ambari.SCOM.ClusterService.Hdfs" Enabled="true" ConfirmDelivery="false">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Ambari.SCOM.Module.HdfsServiceMetricsPerformanceDataSource">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<PropertyName>filesappended</PropertyName>
<CounterName>Files Appended</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>