Re: [rrd-users] Not understanding the 'create' function....

This is a discussion on Re: [rrd-users] Not understanding the 'create' function.... within the RRD Users forums, part of the Networking and Network Related category; On 4/20/07, Leif Neland <leif@neland.dk> wrote: > David Ball skrev: > > I feel ...


Go Back   Usenet Forums > Networking and Network Related > RRD Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2007
Sam Umbach
 
Posts: n/a
Default Re: [rrd-users] Not understanding the 'create' function....

On 4/20/07, Leif Neland <leif@neland.dk> wrote:
> David Ball skrev:
> > I feel a bit sheepish asking, but this just doesn't make sense to
> > me. I create a test RRD as follows:
> >
> > # /usr/local/rrdtool-1.2.19/bin/rrdtool create ../tmp/testRRD3.rrd
> > --start 1167609600 --step 300 DS:bps:COUNTER:600:0:150000000
> > RRA:MAX:0.5:1:10000
> >
> > But when I do a dump of it, the first timestamp in the RRD is no where
> > NEAR what I specified in my 'create' statement. In fact, the LAST
> > timeslot in my database is the timestamp I mentioned for the START of
> > the RRD....


An RRD contains a fixed number of data slots (representing a fixed
length of time based on the step size, steps per CDP, and number of
rows stored in each RRA). Each time you insert data, rrdtool rolls
out old data in order to make room for the new data. When you first
create an RRD, it is filled with Unknown data values, and these are
rolled out as you perform updates. [Strictly speaking, data isn't
rolled out every time you perform an update; data is rolled out of an
RRA every time a row boundary is passed.]

It sounds like your RRD is set up correctly and will give the results
you're expecting. rrdtool dump is generally not used for data
retrieval, but can be helpful for diagnosing problems. You should
retrieve data with rrdtool fetch or rrdtool graph.

-Sam

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:15 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0