[rrd-users] Strange issue with large step value

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Tue May 5 07:51:51 CEST 2015


> Please explain how I convert the above example to an hourly database
> without recalculating the values

Create a new database to test, investigate and learn.

The step size should be divided by 168 (and then becomes 3600), the amount 
of rows should be multiplied by 168 (to store the same amount of time), and 
then feed the same data (rrdtool will update more than one row at a time, no 
problem).

--step 3600
RRA:AVERAGE:0.5:1:8904

Now use "rrdtool dump" and open the resulting file with a text editor to get 
an idea what is inside this database.

Repeat the excercise, now with two RRAs:

--step 3600
RRA:AVERAGE:0.5:1:8904
RRA:AVERAGE:0.5:168:53

This second RRA should be very much the same as what you get now: one entry 
for every week, 53 times.

Depending on the results you can test further. Still no data? Perhaps 
there's something wrong with your heartbeat settings, or your min/max 
settings. Data, but not what you expect? Then the input is not what you 
expect.

After looking at this, do your "rrdtool xport" again and compare against the 
"rrdtool dump" results. Does it do what you think it should do.


 



More information about the rrd-users mailing list