Collect HDFS Bytes Written

Ambari.SCOM.PerformanceRule.HdfsBytesWritten (Rule)

This rule collects number of bytes written to HDFS.

Knowledge Base article:

Summary

Collects number of bytes written to 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.HdfsBytesWritten" 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>aggregated.datanode.bytes_written</PropertyName>
<CounterName>Total Bytes Written</CounterName>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>