anchor.diff:          retry_check_interval    1 
           max_check_attempts      1
   }
  -
  -<%end-%>
  +<% end -%> #end do loop
  +<% end -%> #end if HDFS (namenode)
   
   # MAPREDUCE Checks
   <%if scope.function_hdp_nagios_members_exist('jobtracker')-%>
  
positive.code:         max_check_attempts      3
  }
  <%end-%>
  <%if scope.function_hdp_nagios_members_exist('namenode')-%>
  # HDFS Checks
  <% @namenodes = scope.function_hdp_template_var("::hdp::params::namenode_host"); @namenodes.each do |namenode| -%>
  
negative.code:         max_check_attempts      5
  }
  
  
  define service {
          hostgroup_name          nagios-server
  