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 7EA24C70C for ; Tue, 15 May 2012 02:26:49 +0000 (UTC) Received: (qmail 53718 invoked by uid 500); 15 May 2012 02:26:49 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 53694 invoked by uid 500); 15 May 2012 02:26:49 -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 53686 invoked by uid 99); 15 May 2012 02:26:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 02:26:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 May 2012 02:26:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 4B0342388978; Tue, 15 May 2012 02:26:25 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1338509 - in /incubator/ambari/branches/ambari-186: CHANGES.txt hmc/puppet/modules/hdp-nagios/templates/hadoop-hosts.cfg.erb hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb Date: Tue, 15 May 2012 02:26:25 -0000 To: ambari-commits@incubator.apache.org From: vgogate@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20120515022625.4B0342388978@eris.apache.org> Author: vgogate Date: Tue May 15 02:26:24 2012 New Revision: 1338509 URL: http://svn.apache.org/viewvc?rev=1338509&view=rev Log: AMBARI-225. Currently we dont have any monitoring alerts setup for secondary namenode by vgogate Modified: incubator/ambari/branches/ambari-186/CHANGES.txt incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-hosts.cfg.erb incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb Modified: incubator/ambari/branches/ambari-186/CHANGES.txt URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/CHANGES.txt?rev=1338509&r1=1338508&r2=1338509&view=diff ============================================================================== --- incubator/ambari/branches/ambari-186/CHANGES.txt (original) +++ incubator/ambari/branches/ambari-186/CHANGES.txt Tue May 15 02:26:24 2012 @@ -2,6 +2,8 @@ Ambari Change log Release 0.x.x - unreleased + AMBARI-225. Currently we dont have any monitoring alerts setup for secondary namenode (vgogate) + AMBARI-224. sequentialScriptRunner.php logging in a tight loop. (Jitendra Pandey via vgogate) AMBARI-223. Add troubleshoot link in the Alerts table to provide documentation for debugging/resolving the alerts (vgogate) Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-hosts.cfg.erb URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-hosts.cfg.erb?rev=1338509&r1=1338508&r2=1338509&view=diff ============================================================================== --- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-hosts.cfg.erb (original) +++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-hosts.cfg.erb Tue May 15 02:26:24 2012 @@ -4,8 +4,8 @@ define host { host_name <%=host%> use linux-server address <%=host%> - check_interval 0.5 - retry_interval 0.5 + check_interval 0.25 + retry_interval 0.25 max_check_attempts 4 } Modified: incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb URL: http://svn.apache.org/viewvc/incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb?rev=1338509&r1=1338508&r2=1338509&view=diff ============================================================================== --- incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb (original) +++ incubator/ambari/branches/ambari-186/hmc/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb Tue May 15 02:26:24 2012 @@ -122,8 +122,20 @@ define service { } <%end-%> -# HDFS Checks +<%if scope.function_hdp_nagios_members_exist('snamenode')-%> +# Secondary namenode checks +define service { + hostgroup_name snamenode + use generic-service + service_description NAMENODE::Secondary Namenode Process down + check_command check_tcp!50090!-w 1 -c 1 + normal_check_interval 0.5 + retry_check_interval 0.25 + max_check_attempts 3 +} +<%end-%> <%if scope.function_hdp_nagios_members_exist('namenode')-%> +# HDFS Checks define service { hostgroup_name namenode use generic-service