Parcourir la source

AMBARI-1942. Nagios server failed to start. (swagle)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1468252 13f79535-47bb-0310-9956-ffa450edef68
Siddharth Wagle il y a 12 ans
Parent
commit
3e6b6d80f1

+ 2 - 0
CHANGES.txt

@@ -723,6 +723,8 @@ Trunk (unreleased changes):
 
  BUG FIXES
 
+ AMBARI-1942. Nagios server failed to start. (swagle)
+
  AMBARI-1938. Update mock data for stack HDP-1.3.0. (jaimin)
 
  AMBARI-1934. Security vulnerability with Ganglia and Nagios. (smohanty)

+ 3 - 0
ambari-agent/src/main/puppet/modules/hdp-nagios/templates/hadoop-services.cfg.erb

@@ -484,6 +484,7 @@ define service {
 }
 <%end-%>
 
+<%if scope.function_hdp_nagios_members_exist('hue-server')-%>
 define service {
         hostgroup_name          hue-server
         use                     hadoop-service
@@ -494,3 +495,5 @@ define service {
         retry_check_interval    0.5
         max_check_attempts      3
 }
+<%end-%>
+