Return-Path: X-Original-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6360A10FBD for ; Tue, 24 Sep 2013 00:46:29 +0000 (UTC) Received: (qmail 97383 invoked by uid 500); 24 Sep 2013 00:46:29 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 97363 invoked by uid 500); 24 Sep 2013 00:46:29 -0000 Mailing-List: contact ambari-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-commits@incubator.apache.org Received: (qmail 97355 invoked by uid 99); 24 Sep 2013 00:46:29 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Sep 2013 00:46:29 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 1ABF5907DBF; Tue, 24 Sep 2013 00:46:29 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: swagle@apache.org To: ambari-commits@incubator.apache.org Message-Id: <4e2859cbcee243b799de5d57c50c3060@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-3320. Tasktracker Nagios alerts missing. (swagle) Date: Tue, 24 Sep 2013 00:46:29 +0000 (UTC) Updated Branches: refs/heads/branch-1.4.1 0d3786738 -> 56b6f6ce8 AMBARI-3320. Tasktracker Nagios alerts missing. (swagle) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/56b6f6ce Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/56b6f6ce Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/56b6f6ce Branch: refs/heads/branch-1.4.1 Commit: 56b6f6ce833686aadfed519cc42ee997f8fa5729 Parents: 0d37867 Author: Siddharth Wagle Authored: Mon Sep 23 17:45:51 2013 -0700 Committer: Siddharth Wagle Committed: Mon Sep 23 17:45:51 2013 -0700 ---------------------------------------------------------------------- .../hdp-nagios/templates/hadoop-services.cfg.erb | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/56b6f6ce/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 9a2531b..49c64e5 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 @@ -387,7 +387,7 @@ define service { <%end-%> -<%if scope.function_hdp_nagios_members_exist('tasktracker')-%> +<%if scope.function_hdp_nagios_members_exist('tasktracker-servers')-%> define service { hostgroup_name nagios-server use hadoop-service @@ -543,6 +543,17 @@ define service { max_check_attempts 5 } +define service { + hostgroup_name historyserver2 + use hadoop-service + service_description JOBHISTORY::HistoryServer process + servicegroups MAPREDUCE + check_command check_tcp!<%=scope.function_hdp_template_var("::hdp::hs_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('journalnodes')-%>