[mrtg] Re: [rrd-users] Default RRD/mrtg

Rainer Bawidamann rainer at bawidamann.de
Mon Aug 13 20:39:17 MEST 2001


> Might be an obvious answer question, but what are the default RRD options
> when the rrds are created when using mrtg/rrdtool?
> 
> I mean, if I were to create an identical RRD using rrdtool create, what
> would those options be?

Look into the script "mrtg" (the mrtg program) and search for the string
"RRA" (around line 415). You will find

            my @args = ($rrd, '-b', $time-10, '-s', int($interval * 60),
                         "DS:ds0:$up_abs:$minhb:0:$absi",
                         "DS:ds1:$up_abs:$minhb:0:$abso",
                         "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");
            RRDs::create(@args);

Rainer

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list