[rrd-users] Re: Getting Values out of a DB

Alex van den Bogaerdt alex at ergens.op.HET.NET
Wed Jul 3 18:40:45 MEST 2002


Paul Rossi wrote:

> I'm trying to pull all the values out of one RRD DB and put them into
> another.

> 1025706300: 7.5732695749e+00
>  
> The exact command I am typing is:
>  
>             rrdtool fetch data.rrd AVERAGE
>  
> Is there anyway I can see what the values were when they were entered
> into the DB rather than in this format?

No, there is not.  Original numbers are not kept.  They are normalized
and they are used to compute a rate.  Only these normalized rates are
kept.

However, it is possible to enter rates into a new database.  If you
want to tell RRDtool "do not touch these numbers" then you have to:
1) use GAUGE
2) enter at exact the right time

This way the numbers are already rates (so: no computations) and the
effect of normalizing is reduced to zero (the time is right).

Then, when you're finished, you can change the counter type from GAUGE
to COUNTER (or whatever else you want).

"Exactly the right time" depends on the step time of the database.  It
is the time displayed in the output of fetch.

HTH
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| 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: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