[rrd-users] MAX not behaving as I would expect

Rob Conway rjconway at bigpond.com
Wed Feb 4 20:38:42 CET 2009

Another post from someone probably not understanding consolidation functions
!  I thought I did until I switched my trend to show MAX instead of average.


I measure the power used and trend kwh.  At midnight, my read script resets
and just feeds into rrrd an ever increasing number (accumulated kwh)
throughout the day so as to produce a saw tooth pattern.  Works great,
however when I trend the MAX, I "assumed" I would see the maximum value for
the 24 hr period.


I think this was the script I used to create the rrd


rrdtool create /var/rrd/kw.rrd --start 1167177600 --step 600
DS:P1:GAUGE:1300:0:100 RRA:AVERAGE:0.5:1:1440 RRA:AVERAGE:0.5:4:2160
RRA:AVERAGE:0.5:12:8760 RRA:MIN:0.5:288:1825 RRA:MAX:0.5:288:1825


The trend can be viewed at www.rjconway.homeip.net
<http://www.rjconway.homeip.net/>   select [Power] radio button for kwh and
redraw, you will see the saw tooth, now select [max] .  It seems to be
giving one max value per two days value changing at midday not midnight.  My
controls only work in IE, (I broke firefox)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20090205/3029d548/attachment-0001.html 

More information about the rrd-users mailing list