[rrd-users] problem calculating the difference between MAX and MIN

stefan Stefan.Bruder at gmx.net
Fri Jun 28 09:07:07 CEST 2013

Steve,

Steve wrote
> Finally - why do you have a 'watt_total' DS if you have a 'Watt current'?
> I'm assuming the current holds the current rate (RRD loves rates) and the
> total is more the total Joules, IE sum(watt_current) over time.  In that
> case, you could calculate the total value in RRD as a VDEF of
> sum(current_average)*interval_length perhaps?

this sounds interresting... but could you explain little more how should the
VDEF look like,
I did not find an example in the docu for "sum(...)"
How do I get the interval_length? is it the heartbeat?
How do I get the time for a certain datapoint e.e. for the MAX or MIN?

Stefan

--
View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/problem-calculating-the-difference-between-MAX-and-MIN-tp7581058p7581068.html
Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.