Hi, I am using rrdtool to store values from my smart meter (electricity and gas). For the gas part I am a bit confused about what is graphed and shown as a total for the graph's period of time.
First, some info about the rrd file I use to store the gas counter values from my meter: Here's the code I use to create a graph from this rrd: The $ variables are defined somewhere else and represent actual color codes and the rrd file name. Here's an example of generated graph: <http://rrd-mailinglists.937164.n2.nabble.com/file/n7583425/gaslast.png> I was expecting the total value mentioned below the graph to be equal to the sum of all values in the graph. But as you can see it is not (or I misinterpret things). The gas counter value uses 3 decimal places and this counter is in m3 (in the rrdinfo output you only see two decimals because the last decimal is 0). I would expect the y-axis values to be represented in 'm' instead of 'u'. When I add all the graph values myself I get to a total of aprox. 380u m3. This does not match with the presented total of 1.384 m3. Likely I am misunderstanding some rrdtool concepts here. Could someone enlighten me? Humke -- View this message in context: http://rrd-mailinglists.937164.n2.nabble.com/Confusion-about-VDEF-total-and-graph-values-tp7583425.html Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com. _______________________________________________ rrd-users mailing list rrd-users@lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users