Hi Oz:

On Wed, Aug 25, 2010 at 7:34 PM, Ozzie Sabina <[email protected]> wrote:

>> Alternatively, you can also specify multiple udp_recv_channels using
>> different ports.  I haven't tried this in practice, but should do what
>> you want.
>
> I have a setup similar to what Jonathan was looking for where I have about 50 
> hosts, each running 1-10 services.  I run a separate gmond for each service 
> on a specific port and they all unicast forward to a collector box which is 
> running collector gmonds running on the same ports.  It's all dynamic and 
> this mostly works.
>
> The biggest issue is I now have to run like 60 gmonds on the collector box 
> and point gmetad at this.  Are you saying I could somehow instead  run one 
> with multiple udp_recv_channels?  I don't understand how those would not all 
> end up tagged as being in the one cluster.

I just tested this and unfortunately does not work as I said it would.
 Basically since you can only specify one cluster in gmond.conf, the
collector gmond end up being wrapped in a single <CLUSTER> even though
it is collecting data from multiple gmonds talking to it at different
ports.

Basically gmond is capable of having multiple receive channels at
different ports, we just need to modify it to be able to handle having
multiple cluster configurations within a single gmond instance.

> I have another related question: since I aggregate all of these services into 
> one gmetad, my grid shows more than the total number of machines (because a 
> machine running 2 services shows up in two clusters and so I end up with 5-6 
> times the actual number of machines in my Grid numbers).  Is there any way 
> for the Grid summary to only count each hostname once, no matter what cluster 
> it showed up in?

Yes, unfortunately there isn't a way to do this out of the box.
Ganglia is designed to aggregate data from data sources that are
distinct with no overlap.  One would need to modify gmetad to support
this.

You are not the first one to request this feature.  Maybe someone will
come along and take this task on -- any takers? :)

Cheers,

Bernard

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to