hm ... the funny thing is that what it does return to me is bytes/sec isn't this weird?
under options I specified: bits ----- Original Message ----- From: "Alex van den Bogaerdt" <[EMAIL PROTECTED]> To: "Paul Klinaftakis" <[EMAIL PROTECTED]> Cc: "RRD users" <[email protected]> Sent: Friday, January 25, 2002 2:02 AM Subject: [rrd-users] Re: rrdfetch (what type is the returned data)? > > Paul Klinaftakis wrote: > > > > hi ... when doing an rrdfetch, what type is the returned data? > > > > For example, I collect my data through MRTG (with logformat: rrdtool). The data are counters but with the Options parameter set to bits. Doing an rrdfetch, what will be the return type (b/s, kb/s, ...)? > > Everything is (assumed to be) a rate. The stored number will depend > on what you input, and on which type of counter you use: > > COUNTER will compute delta(counter) / delta(time) > DERIVE will compute delta(counter) / delta(time) > ABSLUTE will compute counter / delta(time) > GAUGE will be passed directly > > The difference between DERIVE and COUNTER is that DERIVE can go > backwards while COUNTER assumes that a wrap has occured if the newly > received value is lower than the previous one. > ABSOLUTE assumes that delta(counter) is what you give to rrdtool, > GAUGE assumes that { delta(counter)/delta(time) } is given. > > The calculation depend on what you input. If you input bits, the > calculations work with bits and thus bits per second are stored. > Same for bytes, kilobytes, miles, liters, gallons, whatever. > > While this is already elaborate you still may want to visit the > mrtg faq and/or read the rrdtool manual pages. > > HTH > -- > __________________________________________________________________ > / [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 > > -- 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
