In article <37C388565C9E4EC88E23BAA2021C1435@DESK>, Alex van den Bogaerdt <[email protected]> wrote: > > 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 > bucket. > > 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.
Interesting! I hadn't thought of that. It sounds promising - thanks! I'll let you know how I get on - although it won't be until next week. Cheers Tony -- Tony Mountifield Work: [email protected] - http://www.softins.co.uk Play: [email protected] - http://tony.mountifield.org _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
