incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject git commit: AMBARI-3320. Tasktracker Nagios alerts missing. (swagle)
Date Tue, 24 Sep 2013 00:46:29 GMT
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 <swagle@hortonworks.com>
Authored: Mon Sep 23 17:45:51 2013 -0700
Committer: Siddharth Wagle <swagle@hortonworks.com>
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')-%>


Mime
View raw message