I think this is what your trying to do: (try the part by the arrow below) rrdtool graph snmpgif.gif \ -s 974559000 -e 974560500 -h 400\ --title="Input and Output Octets" --vertical-label "bits per second" \ --height 256 --width 480 \ DEF:bytesinb="snmpgif.rrd":input:AVERAGE \ DEF:bytesout="snmpgif.rrd":output:AVERAGE \ CDEF:inb=bytesinb,8,* \ CDEF:out=bytesout,8,* \ <-------- TRY THIS HERE CDEF:Iinb=inb,$FIXED,LE,inb,$FIXED,IF \ CDEF:Iout=out,$FIXED,LE,out,$FIXED,IF \ CDEF:Oinb=inb,$FIXED,LE,0,inb,$FIXED,-,IF \ CDEF:Oout=out,$FIXED,LE,0,out,$FIXED,-,IF
CoolC ----- Original Message ----- From: "Karyn Ulriksen" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 22, 2000 3:04 PM Subject: [rrd-users] Probably a dumb question that I need to RTFM again, but... > > Preface: newbie to rrdtool. Veteran MRTG user. > > I'm using ucd-smnp to poll ifInOctets and ifOutOctets stats from my Cisco > 7507. Then, I pass the information to rrdtool update. > > However, when I generate the graph it doesn't appear to have converted the > bytes to bits, so the graph axis displays as 1/8th the actual traffic > volumes. I've been trying to generate a MRTG style graph as a starting > point to branching out into exploring other things to do with rrd. Is there > a conversion switch that I'm overlooking in the create, update, and/or graph > process? I used the create outlined in the Tutorial as indicated would > produce an MRTG style graph. > > Since ifInOctets/ifOutOctets obviously is counting in bytes, I'm thinking > that there is a common setting that I'm overlooking... > > Thanx in advance. > > K > > -- > 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 > -- 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
