ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From abaranc...@apache.org
Subject [3/8] AMBARI-5296 - update Management Pack to support Hadoop MapReduce2 and YARN services (Anatoly Nikonorov via abaranchuk)
Date Wed, 02 Apr 2014 14:21:38 GMT
http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksRemovedCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksRemovedCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksRemovedCollection.mpx
new file mode 100644
index 0000000..00cf601
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksRemovedCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.DataNodeBlocksRemoved"
+            Target="Ambari.SCOM.HostComponent.DataNode"
+            Enabled="true" ConfirmDelivery="false">
+        <Category>PerformanceCollection</Category>
+        <DataSources>
+          <DataSource ID="DS" TypeID="Ambari.SCOM.Module.HostComponentMetricsPerformanceDataSource">
+            <IntervalSeconds>900</IntervalSeconds>
+            <TimeoutSeconds>300</TimeoutSeconds>
+            <PropertyName>dfs.datanode.blocks_removed</PropertyName>
+            <CounterName>Blocks Removed</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.DataNodeBlocksRemoved">
+          <Name>Collect DataNode Blocks Removed</Name>
+          <Description>This rule collects number of blocks removed by Hadoop DataNode.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.DataNodeBlocksRemoved" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects number of blocks removed by Hadoop DataNode.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksReplicatedCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksReplicatedCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksReplicatedCollection.mpx
new file mode 100644
index 0000000..e8af839
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksReplicatedCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.DataNodeBlocksReplicated"
+            Target="Ambari.SCOM.HostComponent.DataNode"
+            Enabled="true" ConfirmDelivery="false">
+        <Category>PerformanceCollection</Category>
+        <DataSources>
+          <DataSource ID="DS" TypeID="Ambari.SCOM.Module.HostComponentMetricsPerformanceDataSource">
+            <IntervalSeconds>900</IntervalSeconds>
+            <TimeoutSeconds>300</TimeoutSeconds>
+            <PropertyName>dfs.datanode.blocks_replicated</PropertyName>
+            <CounterName>Blocks Replicated</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.DataNodeBlocksReplicated">
+          <Name>Collect DataNode Blocks Replicated</Name>
+          <Description>This rule collects number of blocks replicated by Hadoop DataNode.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.DataNodeBlocksReplicated" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects number of blocks replicated by Hadoop DataNode.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksVerifiedCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksVerifiedCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksVerifiedCollection.mpx
new file mode 100644
index 0000000..cb8bf2f
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksVerifiedCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.DataNodeBlocksVerified"
+            Target="Ambari.SCOM.HostComponent.DataNode"
+            Enabled="true" ConfirmDelivery="false">
+        <Category>PerformanceCollection</Category>
+        <DataSources>
+          <DataSource ID="DS" TypeID="Ambari.SCOM.Module.HostComponentMetricsPerformanceDataSource">
+            <IntervalSeconds>900</IntervalSeconds>
+            <TimeoutSeconds>300</TimeoutSeconds>
+            <PropertyName>dfs.datanode.blocks_verified</PropertyName>
+            <CounterName>Blocks Verified</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.DataNodeBlocksVerified">
+          <Name>Collect DataNode Blocks Verified</Name>
+          <Description>This rule collects number of blocks verified by Hadoop DataNode.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.DataNodeBlocksVerified" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects number of blocks verified by Hadoop DataNode.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksWrittenCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksWrittenCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksWrittenCollection.mpx
new file mode 100644
index 0000000..79280a7
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BlocksWrittenCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.DataNodeBlocksWritten"
+            Target="Ambari.SCOM.HostComponent.DataNode"
+            Enabled="true" ConfirmDelivery="false">
+        <Category>PerformanceCollection</Category>
+        <DataSources>
+          <DataSource ID="DS" TypeID="Ambari.SCOM.Module.HostComponentMetricsPerformanceDataSource">
+            <IntervalSeconds>900</IntervalSeconds>
+            <TimeoutSeconds>300</TimeoutSeconds>
+            <PropertyName>dfs.datanode.blocks_written</PropertyName>
+            <CounterName>Blocks Written</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.DataNodeBlocksWritten">
+          <Name>Collect DataNode Blocks Written</Name>
+          <Description>This rule collects number of blocks written by Hadoop DataNode.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.DataNodeBlocksWritten" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects number of blocks written by Hadoop DataNode.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BytesReadCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BytesReadCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BytesReadCollection.mpx
new file mode 100644
index 0000000..5db2d54
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BytesReadCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.DataNodeBytesRead"
+            Target="Ambari.SCOM.HostComponent.DataNode"
+            Enabled="true" ConfirmDelivery="false">
+        <Category>PerformanceCollection</Category>
+        <DataSources>
+          <DataSource ID="DS" TypeID="Ambari.SCOM.Module.HostComponentMetricsPerformanceDataSource">
+            <IntervalSeconds>900</IntervalSeconds>
+            <TimeoutSeconds>300</TimeoutSeconds>
+            <PropertyName>dfs.datanode.bytes_read</PropertyName>
+            <CounterName>Bytes Read</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.DataNodeBytesRead">
+          <Name>Collect DataNode Bytes Read</Name>
+          <Description>This rule collects number of bytes read by Hadoop DataNode.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.DataNodeBytesRead" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects number of bytes read by Hadoop DataNode.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BytesWrittenCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BytesWrittenCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BytesWrittenCollection.mpx
new file mode 100644
index 0000000..e6774bd
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/BytesWrittenCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.DataNodeBytesWritten"
+            Target="Ambari.SCOM.HostComponent.DataNode"
+            Enabled="true" ConfirmDelivery="false">
+        <Category>PerformanceCollection</Category>
+        <DataSources>
+          <DataSource ID="DS" TypeID="Ambari.SCOM.Module.HostComponentMetricsPerformanceDataSource">
+            <IntervalSeconds>900</IntervalSeconds>
+            <TimeoutSeconds>300</TimeoutSeconds>
+            <PropertyName>dfs.datanode.bytes_written</PropertyName>
+            <CounterName>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>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.DataNodeBytesWritten">
+          <Name>Collect DataNode Bytes Written</Name>
+          <Description>This rule collects number of bytes written by Hadoop DataNode.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.DataNodeBytesWritten" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects number of bytes written by Hadoop DataNode.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/HeartBeatsAvgTimeCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/HeartBeatsAvgTimeCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/HeartBeatsAvgTimeCollection.mpx
new file mode 100644
index 0000000..5a06973
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/DataNode/HeartBeatsAvgTimeCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.DataNodeHeartBeatsAvgTime"
+            Target="Ambari.SCOM.HostComponent.DataNode"
+            Enabled="true" ConfirmDelivery="false">
+        <Category>PerformanceCollection</Category>
+        <DataSources>
+          <DataSource ID="DS" TypeID="Ambari.SCOM.Module.HostComponentMetricsPerformanceDataSource">
+            <IntervalSeconds>900</IntervalSeconds>
+            <TimeoutSeconds>300</TimeoutSeconds>
+            <PropertyName>dfs.datanode.heartbeats_avg_time</PropertyName>
+            <CounterName>Heart Beats (Avg Time)</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.DataNodeHeartBeatsAvgTime">
+          <Name>Collect DataNode Heart Beats (Avg Time)</Name>
+          <Description>This rule collects average heart beats time of Hadoop DataNode.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.DataNodeHeartBeatsAvgTime" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects average heart beats time of Hadoop DataNode.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveApplicationsCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveApplicationsCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveApplicationsCollection.mpx
new file mode 100644
index 0000000..f01e66d
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveApplicationsCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <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>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerActiveApplications">
+          <Name>Collect Number of active Applications</Name>
+          <Description>This rule collects number of active Applications.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerActiveApplications" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of active Applications.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveNMCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveNMCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveNMCollection.mpx
new file mode 100644
index 0000000..ec9ac4b
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveNMCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerNumActiveNMs"
+            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.clustermetrics.numactivenms</PropertyName>
+            <CounterName>NumActiveNMs</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerNumActiveNMs">
+          <Name>Collect Number of active NodeManagers</Name>
+          <Description>This rule collects number of active NodeManagers.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerNumActiveNMs" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of active NodeManagers.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveUsersCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveUsersCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveUsersCollection.mpx
new file mode 100644
index 0000000..34bc493
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/ActiveUsersCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerActiveUsers"
+            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.activeusers</PropertyName>
+            <CounterName>ActiveUsers</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerActiveUsers">
+          <Name>Collect Number of active Users</Name>
+          <Description>This rule collects number of active Users.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerActiveUsers" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of active Users.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AggregateContainersAllocatedCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AggregateContainersAllocatedCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AggregateContainersAllocatedCollection.mpx
new file mode 100644
index 0000000..8137884
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AggregateContainersAllocatedCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAggregateContainersAllocated"
+            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.aggregatecontainersallocated</PropertyName>
+            <CounterName>AggregateContainersAllocated</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAggregateContainersAllocated">
+          <Name>Collect Number of Allocated Aggregate Containers</Name>
+          <Description>This rule collects number of Allocated Aggregate Containers.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAggregateContainersAllocated" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Allocated Aggregate Containers.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AggregateContainersReleasedCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AggregateContainersReleasedCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AggregateContainersReleasedCollection.mpx
new file mode 100644
index 0000000..635ffa9
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AggregateContainersReleasedCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAggregateContainersReleased"
+            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.aggregatecontainersreleased</PropertyName>
+            <CounterName>AggregateContainersReleased</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAggregateContainersReleased">
+          <Name>Collect Number of Released Aggregate Containers</Name>
+          <Description>This rule collects number of Released Aggregate Containers.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAggregateContainersReleased" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Released Aggregate Containers.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedContainersCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedContainersCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedContainersCollection.mpx
new file mode 100644
index 0000000..b65bba2
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedContainersCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedContainers"
+            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.allocatedcontainers</PropertyName>
+            <CounterName>AllocatedContainers</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedContainers">
+          <Name>Collect Number of Allocated Containers</Name>
+          <Description>This rule collects number of Allocated Containers.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedContainers" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Allocated Containers.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedMBCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedMBCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedMBCollection.mpx
new file mode 100644
index 0000000..5115e48
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedMBCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedMB"
+            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.allocatedmb</PropertyName>
+            <CounterName>AllocatedMB</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedMB">
+          <Name>Collect Number of Allocated MB</Name>
+          <Description>This rule collects number of Allocated MB.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedMB" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Allocated MB.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedVCoresCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedVCoresCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedVCoresCollection.mpx
new file mode 100644
index 0000000..6e54173
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AllocatedVCoresCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedVCores"
+            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.allocatedvcores</PropertyName>
+            <CounterName>AllocatedVCores</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedVCores">
+          <Name>Collect Number of Allocated VCores</Name>
+          <Description>This rule collects number of Allocated VCores.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAllocatedVCores" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Allocated VCores.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsCompletedCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsCompletedCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsCompletedCollection.mpx
new file mode 100644
index 0000000..708e1f4
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsCompletedCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsCompleted"
+            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.appscompleted</PropertyName>
+            <CounterName>AppsCompleted</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsCompleted">
+          <Name>Collect Number of Completed Applications</Name>
+          <Description>This rule collects number of Completed Applications.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsCompleted" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Completed Applications.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsFailedCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsFailedCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsFailedCollection.mpx
new file mode 100644
index 0000000..d6e597e
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsFailedCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsFailed"
+            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.appsfailed</PropertyName>
+            <CounterName>AppsFailed</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsFailed">
+          <Name>Collect Number of Failed Applications</Name>
+          <Description>This rule collects number of Failed Applications.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsFailed" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Failed Applications.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsKilledCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsKilledCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsKilledCollection.mpx
new file mode 100644
index 0000000..e3c4e71
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsKilledCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsKilled"
+            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.appskilled</PropertyName>
+            <CounterName>AppsKilled</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsKilled">
+          <Name>Collect Number of Killed Applications</Name>
+          <Description>This rule collects number of Killed Applications.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsKilled" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Killed Applications.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsPendingCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsPendingCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsPendingCollection.mpx
new file mode 100644
index 0000000..a7df041
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsPendingCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsPending"
+            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.appspending</PropertyName>
+            <CounterName>AppsPending</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsPending">
+          <Name>Collect Number of Pending Applications</Name>
+          <Description>This rule collects number of Pending Applications.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsPending" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Pending Applications.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsRunningCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsRunningCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsRunningCollection.mpx
new file mode 100644
index 0000000..2088541
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsRunningCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsRunning"
+            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.appsrunning</PropertyName>
+            <CounterName>AppsRunning</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsRunning">
+          <Name>Collect Number of Running Applications</Name>
+          <Description>This rule collects number of Running Applications.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsRunning" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Running Applications.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsSubmittedCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsSubmittedCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsSubmittedCollection.mpx
new file mode 100644
index 0000000..7e751f6
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AppsSubmittedCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsSubmitted"
+            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.appssubmitted</PropertyName>
+            <CounterName>AppsSubmitted</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsSubmitted">
+          <Name>Collect Number of Submitted Applications</Name>
+          <Description>This rule collects number of Submitted Applications.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAppsSubmitted" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Submitted Applications.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AvailableMBCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AvailableMBCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AvailableMBCollection.mpx
new file mode 100644
index 0000000..00d5a6b
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AvailableMBCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAvailableMB"
+            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.availablemb</PropertyName>
+            <CounterName>AvailableMB</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAvailableMB">
+          <Name>Collect Number of Available MB</Name>
+          <Description>This rule collects number of Available MB.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAvailableMB" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Available MB.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AvailableVCoresCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AvailableVCoresCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AvailableVCoresCollection.mpx
new file mode 100644
index 0000000..5b86244
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/AvailableVCoresCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerAvailableVCores"
+            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.availablevcores</PropertyName>
+            <CounterName>AvailableVCores</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAvailableVCores">
+          <Name>Collect Number of Available VCores</Name>
+          <Description>This rule collects number of Available VCores.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerAvailableVCores" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of Available VCores.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/DecommissionedNMCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/DecommissionedNMCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/DecommissionedNMCollection.mpx
new file mode 100644
index 0000000..99370b0
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/DecommissionedNMCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerNumDecommissionedNMs"
+            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.clustermetrics.numdecommissionednms</PropertyName>
+            <CounterName>NumDecommissionedNMs</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerNumDecommissionedNMs">
+          <Name>Collect Number of decommissioned NodeManagers</Name>
+          <Description>This rule collects number of decommissioned NodeManagers.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerNumDecommissionedNMs" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of decommissioned NodeManagers.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>

http://git-wip-us.apache.org/repos/asf/ambari/blob/53c40505/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/LostNMCollection.mpx
----------------------------------------------------------------------
diff --git a/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/LostNMCollection.mpx b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/LostNMCollection.mpx
new file mode 100644
index 0000000..ec2d7fd
--- /dev/null
+++ b/contrib/ambari-scom/management-pack/Hadoop_MP/HadoopMp/Rules/Performance/HostComponents/ResourceManager/LostNMCollection.mpx
@@ -0,0 +1,62 @@
+<!--## Licensed to the Apache Software Foundation (ASF) under one
+## or more contributor license agreements.  See the NOTICE file
+## distributed with this work for additional information
+## regarding copyright ownership.  The ASF licenses this file
+## to you under the Apache License, Version 2.0 (the
+## "License"); you may not use this file except in compliance
+## with the License.  You may obtain a copy of the License at
+##
+##     http://www.apache.org/licenses/LICENSE-2.0
+##
+## Unless required by applicable law or agreed to in writing,
+## software distributed under the License is distributed on an
+## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+## KIND, either express or implied.  See the License for the
+## specific language governing permissions and limitations
+## under the License.-->
+
+<ManagementPackFragment SchemaVersion="2.0" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+  <Monitoring>
+    <Rules>
+      <Rule ID="Ambari.SCOM.PerformanceRule.ResourceManagerNumLostNMs"
+            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.clustermetrics.numlostnms</PropertyName>
+            <CounterName>NumLostNMs</CounterName>
+          </DataSource>
+        </DataSources>
+        <WriteActions>
+          <WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData" />
+          <WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData" />
+        </WriteActions>
+      </Rule>
+    </Rules>
+  </Monitoring>
+
+  <LanguagePacks>
+    <LanguagePack ID="ENU" IsDefault="true">
+      <DisplayStrings>
+        <DisplayString ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerNumLostNMs">
+          <Name>Collect Number of lost NodeManagers</Name>
+          <Description>This rule collects number of lost NodeManagers.</Description>
+        </DisplayString>
+      </DisplayStrings>
+
+      <KnowledgeArticles>
+        <KnowledgeArticle ElementID="Ambari.SCOM.PerformanceRule.ResourceManagerNumLostNMs" Visible="true">
+          <MamlContent>
+            <section xmlns="http://schemas.microsoft.com/maml/2004/10">
+              <title>Summary</title>
+              <para>Collects Number of lost NodeManagers.</para>
+            </section>
+          </MamlContent>
+        </KnowledgeArticle>
+      </KnowledgeArticles>
+    </LanguagePack>
+  </LanguagePacks>
+</ManagementPackFragment>


Mime
View raw message