[rrd-users] RE rrdupdate behaviour when data already exist

Sam Stickland sam_mailinglists at spacething.org
Wed Aug 20 16:39:12 CEST 2008


Hi Cyrille,

Your RRDs will not expand out in the way you hope. For example:

rra[5].cdp_prep[0].unknown_datapoints = 0
rra[5].cdp_prep[0].value = 1.7870000000e+03
rra[5].cdp_prep[1].unknown_datapoints = 0
rra[5].cdp_prep[1].value = 1.7870000000e+03
rra[5].cf = "MAX"
rra[5].pdp_per_row = 12
rra[5].rows = 19113
rra[5].xff = 5.0000000000e-01

This means that this RRA is only capable of storing 19113 rows, with 12 
primary data-points per row, it won't 'grow' more rows - this size is 
it's limit. I notice that you have no unknown datapoints, so it's 
probably been set based on how many datapoints you had in the MRTG log 
file, rather than how many datapoints (rows) you want to store. Your rrd 
create should be static, not based on the amount of data you initally have.

I've attached my script.

Sam

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: convert-to-torrus.pl
Url: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20080820/476fa15c/attachment-0001.pl 


More information about the rrd-users mailing list