James Braid wrote:
Hi all,
I have Ganglia (2.4.1, and CVS) setup on Solaris, Debian, Redhat, and
IRIX. Each box seems to be working fine individually (i.e. ganglia
compiled and gathers data okay). But I seem to be getting the problems
as described by Steven Wagner in this post:
http://sourceforge.net/mailarchive/message.php?msg_id=1777620. I've had
a quick grep through the source and couldn't find the timeouts mentioned
by Steven in the metrics.h file (but it is late here so I could have
just missed it...).
Look in this array in gmond/metric.h:
--
metric_t metric[num_key_metrics] = {
/* threshold check_max mcast_max units */
/* key check_min mcast_min type fmt */
/*------------------------------------------------------------------*/
/* user_defined does nothing */
{"user_defined",metric_init,
INIT, -1, -1, -1, -1, -1, g_int32, "", ""},
/* CONFIGURATION METRICS */
KEY(cpu_num), -1, -1, -1, 900, 1200, g_uint16, "CPUs","%hu"},
KEY(cpu_speed), -1, -1, -1, 900, 1200, g_uint32, "MHz", "%hu"},
--
These two numbers -----------------^^^^^^^^^ --------- are the multicast
thresholds. Make sure that the value for *ANY* of the metrics (I suggest
load_one since it may change often enough to be useful, but you could
choose sys_clock ... ) to have a max of LESS than your gmetad timeout
value. In my case, this was 60 seconds. However, as stated in the list
archives, I am using a hot-rodded gmetad 0.1.0, so your mileage may vary...
Good luck ...