i just checked in changes to cvs and created a new 2.6.0 snapshot which
is available (along w/RPMs) at http://matt-massie.com/ganglia/
.

this version allows you to configure gmetad round-robin archives any way
that you like.

the default archives are (from the code)...
config->num_rras = 4;
config->rras = (char **) malloc (sizeof(char *) * config->num_rras);
/* 1 hour of 15 sec samples */
config->rras[0] = strdup("RRA:AVERAGE:0.5:15:240");
/* 1 day of 6 minute samples */
config->rras[1] = strdup("RRA:AVERAGE:0.5:360:240");
/* 1 month of hourly samples */
config->rras[2] = strdup("RRA:AVERAGE:0.5:3600:744");
/* 1 year of daily samples */    
config->rras[3] = strdup("RRA:AVERAGE:0.5:86400:365");

people can alter the round-robin archive format via a gmetad.conf option
"round_robin_archives".  it is a list of archives... for example.. 

round_robin_archives "RRA:AVERAGE:0.5:15:240"

would force gmetad to run with only one round-robin archive (1 hour of
15 second samples)

round_robin_archives "RRA:AVERAGE:0.5:1:3600" "RRA:AVERAGE:0.5:3600:240"

would force gmetad to run with two archives a (1 hour of 1 sec samples)
and (1 day of 6 minute samples)

to learn more about round-robin archives.. visit...
http://www.rrdtool.com/manual/rrdcreate.html

the data-source names, step and heartbeat are not configurable (and
really shouldn't be).  altering them will prevent the front-end from
know where to find data... it needs to know the data-source DS names.

i haven't added the explicit NaN processing to gmetad... going to do
that now.

another quick question...

would anyone object if i changed to the location of the databases to use
the IP address of hosts instead of their fully-qualified name?  there is
no nice answer here but i think it's the best of three evils.

feedback?
-matt


-- 
Mobius strippers never show you their back side
PGP fingerprint 'A7C2 3C2F 8445 AD3C 135E  F40B 242A 5984 ACBC 91D3'

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to