[rrd-users] Re: First rrd gets only "nan" data with fetch

Tobias Oetiker oetiker at ee.ethz.ch
Sat Mar 23 15:41:17 MET 2002


Today scott.list wrote:

>
> Greetings:
>
> I'm an old mrtg user but new to rrd, I have read the tutorials but am having
> trouble getting my first rrd to work.  I'm setting up a rrd to track some
> modem usage.  I'm starting slow with one value, I think once I get that,
> I'll be on my way.
>
> I have done:
>
> rrdtool create modem.rrd     \
>         --step 60         \
>         --start  N          \
>         DS:Total:GAUGE:120:1:200    \
>         RRA:MAX:0.5:1:600    \
>
> I understand that to mean:
> -Set up a rrd named modem.rrd which starts when I run the command (N).
> -It holds one Data Source named "Total" that gets built from gauge type of
> data.  The counter is read every 60 seconds.  It will consider the value of
> the data source unknown if it has not gotten more data in 120 seconds,
> Minimum value of the data is 0 max is 200.

well minimum is 1 in the code quoted above

> In this rrd, I have one archive stored that is consoladated as a maximum,
> uses .5 for amount of data that can be made up from unknown data (still
> fuzzy on this). collects data for 600 steps (minutes in this case, = one
> hour).

600 minutes are 10 hours ...

and your RRA will store every sample (1) and keep 600 around ...
using MAX in this context does not make sense, as MAX can only be
built sensibly if there are more than 1 value per entry in the RRA

cheers
tobi

-- 
 ______    __   _
/_  __/_  / /  (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland
 / // _ \/ _ \/ / phoneto:+41(0)1-632-5286  faxto:+41(0)1-632-1517
/_/ \.__/_.__/_/ oetiker at ee.ethz.ch http://google.com/search?q=tobi


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