This is such a common misconception that the development team should
consider removing the name field from the data_source configuration line
entirely.

Fundamentally, cluster names come from the gmond.conf files.  The names of
datasources exist only to confuse the hell out of you and create bugs.  You
need to change those gmond.conf's to match the cluster names you want.

IIRC, it's a good idea for the datasources lines to match those because they
actually are used in a few places and having them *not* match just confuses
the next guy who maintains your system.

-- ReC


On Fri, Oct 29, 2010 at 6:15 AM, David B. Ritch <david.ri...@gmail.com>wrote:

> I'm running Ganglia-3.1.7 under RHEL-5.5 on a cluster.  My nodes are
> divided into different classes for monitoring.   My largest class of
> nodes, datanodes, spans 3 VLANs, and I don't route multicast between
> those domains.  I have the following in gmetad.conf on my master node:
>
> data_source "Datanodes"  r01n40-ge:8649 r03n40-ge:8649 r05n40-ge:8649
> data_source "Datanodes2" r11n40-ge:8649 r13n40-ge:8649 r15n40-ge:8649
> data_source "Datanodes3" r21n40-ge:8649 r23n40-ge:8649 r25n40-ge:8649
>
> Each datanode has "Datanodes" specified as its cluster name.
>
> When I look at the web interface, at the grid level, the summary of my
> Datanodes only shows 1/3 of my datanodes.  When I select the Datanodes
> cluster (Grid > Datanodes), and select Show Hosts: no, I see the same
> graph and the same number of nodes.  However, when I select Show Hosts:
> yes, The Hosts up: and CPUs Total both jump up to the proper totals.
>
> Apparently, gmetad sees all the nodes and puts them in the right
> cluster, but doesn't calculate the summaries properly.
>
> Am I doing something wrong, or is the a problem in Ganglia?
>
> Thanks!
>
> David
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Ganglia-general mailing list
> Ganglia-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to