[rrd-users] Help with RRD.... in over my head

v g infiniteseeker at gmail.com
Mon Jan 23 19:36:55 CET 2012


I figured out this issue.  Turns out my python script was somehow adding a
^M at the beginning of the file.  Not sure why it didnt show up in vi doing
a :set list however.  Doing a quick dos2unix seemed to have fixed the issue.

Thanks,



On Mon, Jan 23, 2012 at 10:11 AM, v g <infiniteseeker at gmail.com> wrote:

> Hi,
>
> Still having this issue.  Below is how I create the RRD and how I update
> the rrd file.
>
> Create:
>
>
> rrdtool 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
>
>
> Update:
>
> rrdtool update birken-boiler.rrd
> 1325404770:102:0:0:0:0:0:0:0:0.0:0:0.0:0:0:0
> rrdtool update birken-boiler.rrd
> 1325404791:102:0:0:0:0:0:0:0:0.0:0:0.0:0:0:0
>
>
> the interesting thing is that the error only happens when I call the above
> 2 commands in a .sh file.
>
> When I manually enter in the commands on cmd line, no error?!??
>
> (The error is ' to float not complete: tail 'rsion of '0)
>
> rrdtool 1.3.1 (unfortunately I am not able to update this easily).
>
> Thanks,
>
>
>
>
> On Fri, Jan 20, 2012 at 5:04 PM, Steve Shipway <s.shipway at auckland.ac.nz>wrote:
>
>>  'rsion of' looks like part of the string "Version of", which it would
>> fail to convert to a float value of course.  It might be that you have a
>> separate errorin your code that calls the rrdtool update and you are not
>> passing a float value but are instead passing this string.  Since you have
>> not provided the actual code or script you are running I can only guess...
>>
>> Steve
>>
>>  *Steve Shipway*
>> University of Auckland ITS
>> *UNIX Systems Design Lead*
>> s.shipway at auckland.ac.nz
>> Ph: +64 9 373 7599 ext 86487
>> **
>>   ------------------------------
>> *From:* v g [infiniteseeker at gmail.com]
>> *Sent:* Saturday, 21 January 2012 5:24 a.m.
>>
>> *To:* Steve Shipway
>> *Cc:* rrd-users at lists.oetiker.ch
>> *Subject:* Re: [rrd-users] Help with RRD.... in over my head
>>
>>  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.
>>
>>
>>
>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.oetiker.ch/pipermail/rrd-users/attachments/20120123/5ae055a0/attachment.htm 


More information about the rrd-users mailing list