Hi everybody!
I've a question on rrdtool create command. What I don't understand is in
rrdtutorial, part "A Real World Example". I quote a paragraph:

<quote>
        1 sample "averaged" stays 1 period of 5 minutes
        6 samples averaged become one average on 30 minutes
        24 samples averaged become one average on 2 hours
        288 samples averaged become one average on 1 day

   Lets try to be compatible with MRTG: MRTG stores about the following
   amount of data:

        600 5-minute samples:    2   days and 2 hours
        600 30-minute samples:  12.5 days
        600 2-hour samples:     50   days
        732 1-day samples:     732   days

   These ranges are appended so the total amount of data kept is approxi-
   mately 797 days.  RRDtool stores the data differently, it doesn't start
   the "weekly" archive where the "daily" archive stopped.  For both
   archives the most recent data will be near "now" and therefore we will
   need to keep more data than MRTG does!

   We will need:

        600 samples of 5 minutes  (2 days and 2 hours)
        700 samples of 30 minutes (2 days and 2 hours, plus 12.5 days)
        775 samples of 2 hours    (above + 50 days)
        797 samples of 1 day      (above + 732 days, rounded up to 797)

          rrdtool create myrouter.rrd         \
                           DS:input:COUNTER:600:U:U   \
                           DS:output:COUNTER:600:U:U  \
                           RRA:AVERAGE:0.5:1:600      \
                           RRA:AVERAGE:0.5:6:700      \
                           RRA:AVERAGE:0.5:24:775     \
                           RRA:AVERAGE:0.5:288:797    \
                           RRA:MAX:0.5:1:600          \
                           RRA:MAX:0.5:6:700          \
                           RRA:MAX:0.5:24:775         \
                           RRA:MAX:0.5:288:797
</quote>

So the question is: Why do I need more samples with rrd then with mrtg? Or if I
want to watch 732 day-values, why I define 797 day-values to store? I'm not
native English, maybe I missed something. Could anyone explain it to me?

Thanks

Mody


-- Binary/unsupported file stripped by Ecartis --
-- Err : No filename to use for decode, file stripped.
-- Type: application/pgp-signature


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