Le mer 26/06/2002 à 18:41, Steven Wagner a écrit :
> Gonéri Le Bouder wrote:
> > gmond multicast data about every 15s. It isn't justifed for our usage.
> > One multicast every minute is more adapted. But i can't find a way to do
> > set up that. :(
> > 
> > Is it possible to increase the time betwen 2 multicast.
> > 
> > Thanks,
> > 
> >     Gonéri
> 
> Yes, but you need to edit the source and recompile gmond to do it.
> 
> Open $TOP_DIR/gmond/metric.h and revise the values upwards according to 
> your needs (they're all in seconds).
> 
> i.e.:
> 
> /*             threshold    check_max  mcast_max       units        */
> /* key               check_min   mcast_min     type             fmt */
> /*------------------------------------------------------------------*/
> 
> KEY(cpu_user),      1,  15,   20,   60,   90, g_float, "%",   "%.1f"},
>                          ^^^^^^^^^^^^^^^^^^^^^
> You can change the rate at which data is collected locally and the rate at 
> which it's multicast separately.  The first two values are the min/max 
> times for gathering the data, the second set are for multicasting it...

Can we hope to see an option to do that in gmond.conf for the next
ganglia-monitor release ? It should be a nice way to tune gmond.

                Gonéri

Attachment: signature.asc
Description: PGP signature

Reply via email to