-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/17542/
-----------------------------------------------------------

(Updated Feb. 12, 2014, 3:09 p.m.)


Review request for Ambari, Dmitro Lisnichenko and Mahadev Konar.


Changes
-------

Removed of opening of tcp_accept_channel on masters, because actually, we are 
always open tcp_accept_channel for all monitors, but "localhost" do not always 
resolved as IPv4 address and it don't give ability to Nagios ping of these 
ports successfuly


Bugs: AMBARI-4472
    https://issues.apache.org/jira/browse/AMBARI-4472


Repository: ambari


Description
-------

Actually, we never checked gmond's at hosts without Ganglia server.
For checking gmond's on remote hosts we need open TCP port. By default these 
ports are opened, but they were opened by IPv6 protocol only (see configs 
/etc/ganglia/hdp/HDPJobTracker/gmond.core.conf for example).
So, if we want open these ports in IPv4, we will override tcp_accept_channel 
property in /etc/ganglia/hdp/HDPJobTracker/conf.d/gmond.slave.conf (for 
example) with FQDN of host (except host with master components).


STR
1. Install Hadoop with Ganglia monitor on all hosts of the cluster
2. Go to Hosts page find host with Ganglia server
3. go to host with GS and stop Ganglia monitor
4. wait for task is completed
5. alerts are shown for this host
6. start GM and wait for task is completed
7. go to host without GS and stop GM
8. wait for task is completed
9. alerts for host are not shown 
see attached screens


Diffs (updated)
-----

  
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/GANGLIA/package/files/gmondLib.sh
 87da4dd 
  
ambari-server/src/main/resources/stacks/HDP/1.3.2/services/NAGIOS/package/templates/hadoop-services.cfg.j2
 793732e 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/GANGLIA/package/files/gmondLib.sh
 87da4dd 
  
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/NAGIOS/package/templates/hadoop-services.cfg.j2
 b9f0892 

Diff: https://reviews.apache.org/r/17542/diff/


Testing
-------

Tested on HDP-1.3.3, repository for HDP-2.1.1 was not in order.


Thanks,

Dmytro Shkvyra

Reply via email to