Hi,<br><br>I am having really weird results with a counter. I am not a
newbie to RRDtool, but have usually done gauges (and gauges are working
just fine on the same server)<br><br>My objective is very simple. I am
trying to graph my electric usage. I am updating the meter reading
(counter) every hour and trying to plot a simple 2 day graph. I am
getting really small numbers (.000x) so they show up with the suffix "u"
in the graph and effectively zero when I set 0-30 as the low/high. I am seeing usage of 1-2 KWh/hour when I look at the raw
data. <br>
<br>I am almost suspicious there is a build problem (Ubuntu pre-compiled
package), though I never rule out a "layer 8" problem ;) I did try the
odometer example in the tutorial, and got similarly wacky results (0-40
"m").<br>
<br>RRDtool 1.4.3 Copyright 1997-2009 by Tobias Oetiker <<a href="mailto:tobi@oetiker.ch" target="_blank">tobi@oetiker.ch</a>> Compiled Mar 26 2011 03:16:40 (Ubuntu package 1.4.3-1ubuntu1)<br><br>Here is my very simple create line. My intent for this basic example is to update every hour and save 24 hours.<br>
<br>rrdtool create test.rrd --start 1322500000 --step=3600 DS:kwH:COUNTER:7200:U:U RRA:AVERAGE:0.5:1:24<br><br>And the data I am pumping into it:<br><br>rrdtool update test.rrd 1322530107:36469<br>rrdtool update test.rrd 1322532117:36470<br>
rrdtool update test.rrd 1322535717:36472<br>rrdtool update test.rrd 1322539317:36474<br>rrdtool update test.rrd 1322542917:36475<br>rrdtool update test.rrd 1322545523:36476<br>rrdtool update test.rrd 1322548975:36478<br>
rrdtool update test.rrd 1322552578:36479<br>
rrdtool update test.rrd 1322554380:36480<br>rrdtool update test.rrd 1322558882:36482<br>rrdtool update test.rrd 1322562486:36484<br>rrdtool update test.rrd 1322566990:36486<br>rrdtool update test.rrd 1322571494:36488<br>
rrdtool update test.rrd 1322575316:36489<br>
<br>The output of fetch:<br><br>rrdtool fetch test.rrd AVERAGE<br> kwH<br><br>1322521200: -nan<br>1322524800: -nan<br>1322528400: -nan<br>1322532000: 4.9751243781e-04<br>1322535600: 5.5366915423e-04<br>
1322539200: 5.5555555556e-04<br>1322542800: 2.8680555556e-04<br>1322546400: 4.2794756663e-04<br>1322550000: 4.9343719761e-04<br>1322553600: 3.5629512847e-04<br>1322557200: 4.6823025833e-04<br>1322560800: 5.0322121534e-04<br>
1322564400: 4.9598285308e-04<br>1322568000: 4.4404973357e-04<br>1322571600: 3.5016099546e-04<br>1322575200: 3.5016099546e-04<br>1322578800: -nan<br>1322582400: -nan<br>1322586000: -nan<br>1322589600: -nan<br>1322593200: -nan<br>
1322596800: -nan<br>1322600400: -nan<br>1322604000: -nan<br>1322607600: -nan<br><br>And the graph created by this line:<br><br>rrdtool graph dillon_temp_electriclast48hrs.<div>png
-t "Dillon Electric Usage - Last 2 Days" -v "KilowattHours" --start
-1d --end now DEF:kw=test.rrd:kwH:AVERAGE LINE2:kw#000000<br>
<br>is posted here: <a href="http://extranet.jrp2.com/tempjunk/dillon_temp_electriclast24hrs.png" target="_blank">http://extranet.jrp2.com/tempjunk/dillon_temp_electriclast24hrs.png</a><br><br>Any thoughts or ideas appreciated. I am really hoping I did something dumb!<br>
<br>Thanks,<br><font color="#888888"><br>JP<br><br></font></div>