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 -- __________________________________________________________________ / [EMAIL PROTECTED] [EMAIL PROTECTED] \ | work private | | My employer is capable of speaking therefore I speak only for myself | +----------------------------------------------------------------------+ | Technical questions sent directly to me will be nuked. Use the list. | +----------------------------------------------------------------------+ | http://faq.mrtg.org/ | | http://rrdtool.eu.org --> tutorial | +----------------------------------------------------------------------+ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
