Tekin Gulsen wrote:

> I'm lost in a strange problem. I'm sure I missing something. The problem is
> that the values in the database do not match the actual increments.

That's right.  You are not working with increments, you are working
with rates.

The calculation is not (new-old), it is ( (new-old) / (time_new-time_old) )
this is also referred to as delta(value) divided by delta(time).

The time component is always there, even for a GAUGE.  

counter:  rrdtool calculates both delta(value) and delta(time).
derive:   dito, however the rate can be negative
absolute: you are feeding delta(value), rrdtool computes delta(time)
gauge:    rrdtool doesn't calculate delta(value) nor delta(time)

The resulting rate (after calculations, if necessary) is subject to
normalization (explained further on faq.mrtg.org and in the docs).

If you want to know delta(value) this means that you have to multiply
by delta(time).  This is because ( (X / t) * t ) results in X.  This
may give you slightly different numbers than those you put in, this is
because of the normalization.

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

Reply via email to