Sorry for such a newbie question. General info: Fedora Core 2 RRDtool 1.0.41 perl-5.8.3-18
Trying to get through the tutorial! I created the RRD with this. Straight from tutorial. Changed database name. > rrdtool create testrouter.rrd \ > DS:input:COUNTER:600:U:U \ > DS:output:COUNTER:600:U:U \ > RRA:AVERAGE:0.5:1:600 \ > RRA:AVERAGE:0.5:6:700 \ > RRA:AVERAGE:0.5:24:775 \ > RRA:AVERAGE:0.5:288:797 \ > RRA:MAX:0.5:1:600 \ > RRA:MAX:0.5:6:700 \ > RRA:MAX:0.5:24:775 \ > RRA:MAX:0.5:288:797 > > Have been snmp polling my router for a couple of day and the graph as octets works great! YEA! This following works, straight from the tutorial. > rrdtool graph testrouter-day.gif --start -86400 \ > DEF:inoctets=testrouter.rrd:input:AVERAGE \ > DEF:outoctets=testrouter.rrd:output:AVERAGE \ > AREA:inoctets#00FF00:"In traffic" \ > LINE1:outoctets#0000FF:"Out traffic" 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? > 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" Misc info: I also could not get the graph in the beginners guide, using "RRDs::graph" to work inline. I think CDEFs did not work there either. I got the following error at the point of generating the graph: > problem generating the graph: unknown function 'SCALAR' Any Help would be much appreciated. -- 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
