I hear what you are saying. I was entering in about 4000 data points spread out across 24 hrs and getting these type of errors: return_value = -1 ' to float not complete: tail 'rsion of '0
I decreased the data count to 2 to see if I could isolate which value was causing that tail rsion error. I will play around further with what you suggested but any ideas on the error noted above? Thanks for all your time. I really appreciate it. On Thu, Jan 19, 2012 at 1:55 PM, Steve Shipway <[email protected]>wrote: > You are not entering enough values to get a complete cdp.**** > > ** ** > > This is important:**** > > --start 1325232008 --step 180 \**** > > …**** > > RRA:AVERAGE:0.5:20:10000**** > > ** ** > > What this says is the STEP of the RRD is 180 seconds, or 3 minutes (often, > people will use 1min or 5min).**** > > ** ** > > You are only STORING the data in a single RRA, which has 10,000 cdp > lines, where each cdp (consolidated data point) is the AVERAGE of 20 dps > (data points).**** > > ** ** > > So, you need to write 20 data points, at 3min intervals, before you get > ONE cdp stored. Your xff is 0.5 which means that a cdp will remain unknown > until at least 50% (IE, 10) points are written.**** > > ** ** > > This means you will get NaN output from your fetch until you have done at > least 30 mins of data!**** > > ** ** > > Your test data had only 2 data points, and they are only 21 seconds apart, > so the second would be ignored anyway. Try entering in at least 10 dps, > with time intervals of 180, and you should start seeing a single cdp on > your fetch.**** > > ** ** > > I suspect you are not setting the step or RRA parameters appropriately. > Maybe try an additional RRA with AVERAGE:0.5:1:10000 (so each data point is > stored), and/or decrease the step?**** > > ** ** > > Steve**** > > ** ** > ------------------------------ > > *Steve Shipway* > > ITS Unix Services Design Lead**** > > University of Auckland, New Zealand**** > > Floor 1, 58 Symonds Street, Auckland**** > > *Phone: +64 (0)9 3737599 ext 86487* > > *DDI: +64 (0)9 924 6487* > > *Mobile: +64 (0)21 753 189* > > *Email: [email protected]* > > P Please consider the environment before printing this e-mail **** > > * * > > ** ** > > *From:* v g [mailto:[email protected]] > *Sent:* Friday, 20 January 2012 6:56 a.m. > *To:* Steve Shipway > *Cc:* [email protected] > *Subject:* Re: [rrd-users] Help with RRD.... in over my head**** > > ** ** > > Hi**** > > ** ** > > Thanks for your reply. Still having an issue but managed to isolate it > further. It looks like it enters the first update correctly and then fails > on the subsequent ones. Obviously, I am not doing something correct but I > cant figure out what. **** > > ** ** > > ** ** > > ** ** > > Here is what I did as per your suggestion:**** > > ** ** > > Creating RRD file:**** > > ** ** > > rdtool create birken-boiler.rrd \**** > > --start 1325232008 --step 180 \**** > > DS:boiler_out_flow:GAUGE:600:0:U \**** > > DS:boiler_in_flow:GAUGE:600:0:U \**** > > DS:vihara_in_flow:GAUGE:600:0:U \**** > > DS:vihara_out_flow:GAUGE:600:0:U \**** > > DS:outbldg_in_flow:GAUGE:600:0:U \**** > > DS:outbldg_out_flow:GAUGE:600:0:U \**** > > DS:cistern_top:GAUGE:600:0:U \**** > > DS:cistern_bottom:GAUGE:600:0:U \**** > > DS:boiler_flow_gpm:GAUGE:600:0:U \**** > > DS:vihara_flow_gpm:GAUGE:600:0:U \**** > > DS:outbldg_flow:GAUGE:600:0:U \**** > > DS:boiler_btu_per_hr:GAUGE:600:0:U \**** > > DS:vihara_btu_per_hr:GAUGE:600:0:U \**** > > DS:outbldg_btu_per_hr:GAUGE:600:0:U \**** > > RRA:AVERAGE:0.5:20:10000**** > > ** ** > > Entering in Values:**** > > ** ** > > rrdtool updatev birken-boiler.rrd > 1325404770:102.7:137.1:140.0:122.6:126.8:122.2:258.7:138.4:0.0:5.0:0.0:0:43482:0 > **** > > rrdtool updatev birken-boiler.rrd > 1325404791:102.6:137.2:140.2:121.9:126.7:122.1:260.2:145.2:0.0:5.0:0.0:0:45586:0 > **** > > ** ** > > Output:**** > > ** ** > > return_value = 0**** > > [1325235600]RRA[AVERAGE][20]DS[boiler_out_flow] = NaN**** > > [1325235600]RRA[AVERAGE][20]DS[boiler_in_flow] = NaN**** > > [1325235600]RRA[AVERAGE][20]DS[vihara_in_flow] = NaN**** > > ** ** >
_______________________________________________ rrd-users mailing list [email protected] https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
