Xymon Mailing List Archive search

Question about hobbitd_rrd

list Tom L. Stewart
Thu, 12 Nov 2009 10:47:02 -0600
Message-Id: <user-3d8c66196f42@xymon.invalid>

All,

 
I am trying to find out if I change settings hobbitd_rrd.c

 
From

                newrec->key = strdup("");

                newrec->defs = (char **)malloc(4 * sizeof(char *));;

                newrec->defs[0] = strdup("RRA:AVERAGE:0.5:1:576");

                newrec->defs[1] = strdup("RRA:AVERAGE:0.5:6:3456");

                newrec->defs[2] = strdup("RRA:AVERAGE:0.5:24:13824");

                newrec->defs[3] = strdup("RRA:AVERAGE:0.5:288:27648");

                newrec->count = 4;

                rbtInsert(rrddeftree, newrec->key, newrec);

 
To

                newrec->key = strdup("");

                newrec->defs = (char **)malloc(4 * sizeof(char *));;

                newrec->defs[0] = strdup("RRA:AVERAGE:0.5:1:576");

                newrec->defs[1] = strdup("RRA:AVERAGE:0.5:6:27648");

                newrec->defs[2] = strdup("RRA:AVERAGE:0.5:24:27648");

                newrec->defs[3] = strdup("RRA:AVERAGE:0.5:288:27648");

                newrec->count = 4;

                rbtInsert(rrddeftree, newrec->key, newrec);

 
and recompile.

 
Does this only affect new created files with xymon or will it start
giving me error messages on the previously created rrd files?

 
Thank you,

Tom