[rrd-users] Re: Confusion and seeking help with RRDtool

Alex Nguyen anguyen at videotron.net
Sun Oct 20 23:38:03 MEST 2002


Hi,


On Sun, 20 Oct 2002, Derek Belrose wrote:

DB> Date: Sun, 20 Oct 2002 17:23:18 -0400
DB> From: Derek Belrose <derek at omegabyte.com>
DB> To: rrd-users at list.ee.ethz.ch
DB> Subject: [rrd-users] Confusion and seeking help with RRDtool
DB> 
DB> 
DB> Alright, so I'm running mrtg-2.9 with rrdtool 1.0.40 on a HP ProCurve 
DB> Switch.  I do a snmpget on the router:
DB> 
DB> snmpget ip public interfaces.ifTable.ifEntry.ifOutOctet.1
DB> and that returns:
DB> interfaces.ifTable.ifEntry.ifOutOctets.1 = Counter: 2103368116
DB> 
DB> What does MRTG/RRDTool do to this number in order to enter the 
DB> information into the database?  Does it just add it as is?  Does it take 
DB> the difference between this number and the number prior?

This is depend on your datatype (counter, gauge, etc.). By defaut is
counter and rrdtool will calculate the speed with the prior value.


DB> 
DB> Also, when I do a rrdtool fetch on the database I get a string of 
DB> numbers in scientific notation.  What is this number in?  When I do a 
DB> graph, I notice the values are actually 10 times less than a reasonable 
DB> amount.  Am I doing something wrong here?
DB> 
DB> In order to correct the graphs I had to do a CDEF:actual=in,10,* and 
DB> that does work.  But some of the data I'm trying to calculate doesn't 
DB> come out so I need to know what does MRTG store the data as: bits, 
DB> kbits, whatever.
DB> 

You should multiply by 8 not 10, since rrdtool store the speed as bytes
per second.

A.


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