Hi,

I'm seeing stats get double-counted in Ganglia. It seems likely that
this is due to a kind of wonky gmond configuration in which I'm
attempting to configure two machines into two clusters, each reporting
stats from both machines. The configuration for cluster-001 is below,
which is installed on host-001. The configuration for cluster-002 is
installed on host-002, and is identical except for the cluster name.

globals {
  daemonize = yes
  setuid = yes
  user = nobody
  debug_level = 0
  max_udp_msg_len = 1472
  mute = no
  deaf = no
  host_dmax = 0 /*secs */
  cleanup_threshold = 300 /*secs */
  gexec = no
  send_metadata_interval = 30
}

cluster {
  name = "cluster-001"
  owner = "Xoopit, Inc."
}

udp_send_channel {
  host = host-001
  port = 8649
  ttl = 1
}

udp_send_channel {
  host = host-002
  port = 8649
  ttl = 1
}

I suspect double-counting because host-001 has consistently 0 swap
used, while host-002 has consistently 0.5G used. In the Ganglia web
UI, I see that cluster-002 consistently reports 1G of swap used, while
cluster-001 reports 0.5G used.

In researching this, it appears that one must always configure the
gmond instance to send to itself you want it to collect stats from the
local machine, so I think that part is correct. Maybe stats from
host-002 being collected by host-001 and then sent back to host-002?

Are there simpler ways of doing this sort of thing? I'm a bit of a
Ganglia rookie, in case it wasn't abundantly obvious ;)

Thanks for you time,
Peter

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to