Updated Branches:
  refs/heads/trunk fb0527ffc -> a1a72c62a

AMBARI-2781. Ambari with hdp 2.0.3 stack shows an alert : gmond process down 
for JobTracker. (Andrew Onischuk via smohanty)


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

Branch: refs/heads/trunk
Commit: a1a72c62a8b20c7ad44ebd93ed27d03b134af774
Parents: fb0527f
Author: Sumit Mohanty <[email protected]>
Authored: Wed Jul 31 12:53:34 2013 -0700
Committer: Sumit Mohanty <[email protected]>
Committed: Wed Jul 31 12:53:34 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/a1a72c62/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 3899d2b..8e29808 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
@@ -154,6 +154,7 @@ define service {
         max_check_attempts      4
 }
 
+<%if scope.function_hdp_nagios_members_exist('jobtracker')-%>
 define service {
         hostgroup_name          ganglia-server
         use                     hadoop-service
@@ -164,6 +165,7 @@ define service {
         retry_check_interval    0.25
         max_check_attempts      4
 }
+<%end-%>
 
 <%if scope.function_hdp_nagios_members_exist('hbasemasters')-%>
 define service {

Reply via email to