> Hi All, > > I have a question concerning yearly values. Usually there are > different aggregations like 5-min., 30-min., 2-hours and 1-day. > > How can I get the last 1-day values from rrd (by means of > rrdtool)? I can get the last update but I am not sure about the > values aggregated. (Something like "rrdtool lastupdate-1day" > if it existed...)
Use rrdtool graph. Take the current time in seconds since the epoch. Integer divide by 86400, then multiply by 86400. This is your end time. Start is end-86400. PRINT the average. _______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
