You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ma...@apache.org on 2013/07/02 23:10:17 UTC
svn commit: r1499114 -
/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
Author: mahadev
Date: Tue Jul 2 21:10:16 2013
New Revision: 1499114
URL: http://svn.apache.org/r1499114
Log:
AMBARI-2497. Remove dependence on dfs_datanode_http_address global for Nagios checks. (Vitaly via mahadev)
Modified:
incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
Modified: incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb?rev=1499114&r1=1499113&r2=1499114&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb (original)
+++ incubator/ambari/trunk/ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb Tue Jul 2 21:10:16 2013
@@ -493,7 +493,7 @@ define service {
use hadoop-service
service_description DATANODE::DataNode process down
servicegroups HDFS
- check_command check_tcp!<%=scope.function_hdp_template_var("dfs_datanode_http_address")%>!-w 1 -c 1
+ check_command check_tcp!<%=scope.function_hdp_template_var("datanode_port")%>!-w 1 -c 1
normal_check_interval 1
retry_check_interval 0.5
max_check_attempts 3
@@ -504,7 +504,7 @@ define service {
use hadoop-service
service_description DATANODE::DataNode storage full
servicegroups HDFS
- check_command check_datanode_storage!<%=scope.function_hdp_template_var("dfs_datanode_http_address")%>!90%!90%
+ check_command check_datanode_storage!<%=scope.function_hdp_template_var("datanode_port")%>!90%!90%
normal_check_interval 5
retry_check_interval 1
max_check_attempts 2