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
In <426A0EF5343CDE4CAA8565BBEDB9526F01632CEC at USMSG111.leinternal.com> "Stewart, Tom L." <Tom.Stewart at landsend.com> writes:
I am trying to find out if I change settings hobbitd_rrd.c
From newrec->defs[1] =3D strdup("RRA:AVERAGE:0.5:6:3456"); To newrec->defs[1] =3D strdup("RRA:AVERAGE:0.5:6:27648");
Does this only affect new created files with xymon or will it start giving me error messages on the previously created rrd files?
Only affects the newly created files. rrdtool itself comes with utilities to change the number of datapoints stored for each RRA in existing files.
Regards, Henrik
participants (2)
-
henrik@hswn.dk
-
Tom.Stewart@landsend.com