You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by od...@apache.org on 2013/08/16 14:53:58 UTC

git commit: AMBARI-2929. There is no "ResourceManager process down" Nagios alert. (Vitaly Brodetskyi via odiachenko)

Updated Branches:
  refs/heads/trunk 34c85a689 -> bcebaddbd


AMBARI-2929. There is no "ResourceManager process down" Nagios alert. (Vitaly Brodetskyi via odiachenko)


Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/bcebaddb
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/bcebaddb
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/bcebaddb

Branch: refs/heads/trunk
Commit: bcebaddbd9d900f34afbc31be2a991da7c714b07
Parents: 34c85a6
Author: Oleksandr Diachenko <od...@hortonworks.com>
Authored: Fri Aug 16 15:53:43 2013 +0300
Committer: Oleksandr Diachenko <od...@hortonworks.com>
Committed: Fri Aug 16 15:53:43 2013 +0300

----------------------------------------------------------------------
 .../modules/hdp-nagios/templates/hadoop-services.cfg.erb | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/bcebaddb/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
----------------------------------------------------------------------
diff --git a/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb b/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
index 3256eb4..4a76f71 100644
--- a/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
+++ b/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
@@ -460,6 +460,17 @@ define service {
         retry_check_interval    1
         max_check_attempts      3
 }
+
+define service {
+        hostgroup_name          resourcemanager
+        use                     hadoop-service
+        service_description     RESOURCEMANAGER::ResourceManager process down
+        servicegroups           YARN
+        check_command           check_tcp!<%=scope.function_hdp_template_var("::hdp::rm_port")%>!-w 1 -c 1
+        normal_check_interval   1
+        retry_check_interval    0.5
+        max_check_attempts      3
+}
 <% end %>
 
 <%if scope.function_hdp_nagios_members_exist('nodemanagers')-%>