[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about hobbitd_rrd



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