[rrd-users] Re: Cdef error in Tutorial example (newbie questions)

Arnold Nipper arnold at nipper.de
Wed Jun 23 23:44:24 MEST 2004



On 23.06.2004 22:45 Tom Sanders wrote:


> But when I try to convert to bits as below with a CDEF I get this error.
> "rrdtool: No match."  What does this mean?  
> 
> This appears straight forward. What am I missing?
> 

"\" before "*"

> 
>>rrdtool graph testrouter-day.gif --start -86400 -t "Test Router" -v Octets \
>>            DEF:inoctets=testrouter.rrd:input:AVERAGE \
>>            DEF:outoctets=testrouter.rrd:output:AVERAGE \
>>		CDEF:inbits=inoctets,8,* \
>>		CDEF:outbits=outoctets,8,* \
>>		GPRINT:inbits:MAX:"MAX bits IN=%lf%s" \
>>		AREA:inbits#00FF00:"In traffic" \
>>                LINE1:outbits#0000FF:"Out traffic"
> 

... CDEF:inbits=inoctets,8,\*

should do. Remmember: your environment is a shell!


Arnold

--
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