[rrd-users] How to get MAX/MIN of non-rates?

Alex van den Bogaerdt alex at vandenbogaerdt.nl
Fri Mar 29 00:23:31 CET 2013

> Now, because the value was 5 for a fifth of the period, the average value
> stored is 1, which is fine. However, the MAX table also has a value 1 
> stored,
> instead of the value 5 that I expected.
> It appears the CF for MAX doesn't apply to values within a period, but 
> only
> when periods are consolidated into longer periods.

> I write values with their timestamps as and when they change, and had 
> expected
> RRD to keep the highest value written within the period as the stored MAX
> value for the period.

You could set step equal to 1 (i.e. one second) and then consolidate 300 of 
those steps in your first RRA, the one with the lowest number of seconds per 

In other words: instead of step==300 and steps_per_CDP==1, you set step==1 
and steps_per_CDP==300.

Please try and get back.


More information about the rrd-users mailing list