Hi Manuel:

This is a common misconception of Ganglia.  In order for hosts to show
up as different clusters, they will need to cluster on different
ports.  In your case, you can try changing gmond.conf for server-B to
use port 8650 instead.  Re-start gmond and then point gmetad to that
port as well and you should have 2 clusters instead of one.  Remember
not to use ports 8651 and 8652 as these are gmetad reserved/default
ports.

Good luck,

Bernard

On Tue, Dec 21, 2010 at 8:53 AM,  <[email protected]> wrote:
> Hello,
>
> I have a strange problem with my fresh ganglia install.
>
> I installed gmond/gmetad on one Server (server-A)
> I installed gmond on another Server (server-B)
>
> Gmond-Config on "server-A" is:
>
> cluster {
> name "server-A"
> [...]
> }
>
> udp_send_channel {
>  host=<ip-of-server-A>
>  port = 8649
>  ttl = 1
> }
>
> udp_recv_channel {
>  port = 8649
>  bind = <ip-of-server-A>
> }
>
> tcp_accept_channel {
>  port = 8649
>  bind = <ip-of-server-A>
> }
>
> Gmond-Config on "server-B" is:
>
> cluster {
>  name = "server-B"
>  [...]
> }
>
> udp_send_channel {
>  host=<ip-of-server-B>
>  port = 8649
>  ttl = 1
> }
>
> udp_recv_channel {
>  port = 8649
>  bind = <ip-of-server-B>
> }
>
> tcp_accept_channel {
>  port = 8649
>  bind = <ip-of-server-B>
> }
>
> Gmetad-Config on "server-A" is:
>
> data_source "clusterA" <ip-of-server-A>:8649
> data_source "clusterB" <ip-of-server-B>:8649
>
> Now the sending seems to work, server-A and server-B get queried by the 
> gmetad and the rrd files are created according to the expected cluster 
> configuration. I verified this by telnetting to the gmond's on the two 
> machines and to the gmetad. Both Clusters are shown correctly in the 
> gmetad-xml and all hosts of the clusters (always just one host) are also 
> shown correctly.
>
> When i now open the Web-Interface, I get the server-B-Cluster preselected and 
> cannot change the cluster. In the hosts dropdown I can see the one host for 
> the server-B cluster correctly.
>
> When I manually change the url I will get correct results if I use 
> "c=server-A" and "h=host.for.server-A", since the gmetad correctly created 
> the RRDs. But the bottom graph on the page is broken in this case and
> shows "c=server-A&h=host.for.server-B" which of course will not work.
>
> It somehow seems, that the web frontend cannot correctly read the information 
> from the gmetad in some way and cannot render it correctly although when i 
> look at the xml, it seems correct.
>
> There are no Errors in either gmond or gmetad shown at debug level and i will 
> only get an error in the webserver logfile, that the rrd for the wrong host 
> cannot be found.
>
> Can anyone help me with this strange problem?!
>
> Best regards
> Manuel R.
>
> ------------------------------------------------------------------------------
> Forrester recently released a report on the Return on Investment (ROI) of
> Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
> within 7 months.  Over 3 million businesses have gone Google with Google Apps:
> an online email calendar, and document program that's accessible from your
> browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>

------------------------------------------------------------------------------
Forrester recently released a report on the Return on Investment (ROI) of
Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even
within 7 months.  Over 3 million businesses have gone Google with Google Apps:
an online email calendar, and document program that's accessible from your 
browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to