[rrd-users] Re: does 1.0.36 work

Thierry Nkaoua tnka at linux-sottises.net
Sat Apr 13 21:42:52 MEST 2002


Alex van den Bogaerdt a dit:
>
> Thierry Nkaoua wrote:
>
>> Here is a shorter command line which produces the error
>>
>>  /usr/local/rrdtool-1.0.36/bin/rrdtool graph
>> /webnew/mrtnk/images_rrd/hits_docs_rrd-day.png
>> DEF:indata=/webnew/mrtnk/logs_rrd/hits_docs_rrd.rrd:ds0:AVERAGE
>> CDEF:inlegend=indata,3600,*
>> ERROR: invalid rpn expression 'indata,3600,*'
>
> This does work for me.  Check your script for hidden characters.
>
> I was able to (sort of) reproduce the problem by adding a
> carriage return to this line.  Maybe you have an unprintable
> character somewhere on this line?
>
> A way to see if it is really rrdtool that causes your problem is
> by going into the 1.0.35 directory, renaming rrdtool to rrdtool35
> and copying the newly created rrdtool to this directory.  That way you
> don't have to alter any script yet you are able to test it.
>
> let me know if this helps

Thanks for your try... but as I mentionned in previous posts, I reproduce
the problem directly from a command line, to see if the problem came from my
scripts,  naturally the command is on one line!!

Here are different copies from a command line test:

with 1.0.36, working without the CDEF

tnka at yoda:~ >/usr/local/rrdtool-1.0.36/bin/rrdtool graph test.png
DEF:indata=/webnew/mrtnk/logs_rrd/hits_docs_rrd.rrd:ds0:AVERAGE
0x0


with 1.0.36 not working with the CDEF (the same line where I added "by hand"
the CDEF)

tnka at yoda:~ >/usr/local/rrdtool-1.0.36/bin/rrdtool graph test.png
DEF:indata=/webnew/mrtnk/logs_rrd/hits_docs_rrd.rrd:ds0:AVERAGE
CDEF:inlegend=indata,3600,*
ERROR: invalid rpn expression 'indata,3600,*'

the same with 1.0.35 (working!!)

tnka at yoda:~ >/usr/local/rrdtool-1.0.35/bin/rrdtool graph test.png
DEF:indata=/webnew/mrtnk/logs_rrd/hits_docs_rrd.rrd:ds0:AVERAGE
CDEF:inlegend=indata,3600,*
0x0

well I am trying to recompile 1.0.36.....

-- 
TNK
www.linux-sottises.net
S'il n'y a pas de solution, c'est qu'il n'y a pas de problème!





--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list