[rrd-users] Re: fetch & resolution

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Sun Apr 29 02:04:10 MEST 2001


Matthew Bostwick wrote:
> 
> Just for your information, I didn't mean "threshold" I meant resolution.
> :-)  I'm running cricket currently, with the collector set to 5 minutes.
> The database dumps perfectly in 5 five minute intervals for a day or so.
> I had no idea that rrdtool fetch had a 3000 minute (180000 sec) limitation
> on it.  If someone gets some free time, it'd be great if you could throw
> that up on the webpage sometime.

There is no such limit.  You really need to RTFM.
FYI: I'm monitoring something in a 10-second interval, with 40 days
of history.  That's 350000 rows (40 days times 1440 minutes times
6 intervals per minute, rounded up to a nice number).  The same
amount of rows but for 5-minute intervals would allow for 3 years
of log...  This is nearly 3 megabytes per DS by the way.

Some hints:
Follow the tutorial, even if you don't plan to roll your own.
Read all about the rrdtool create, fetch and resize commands.
Start by reading the rrdtool manual page itself.  It is available
in the doc directory.  If you didn't get the documentation
(which is a serious error and should be reported!) you can always
check it on the official rrdtool site.

No offence, but creating yet another webpage which isn't read anyway
is the last thing I'm going to do.  From the rrdtool manual page:

    "It works like this: If you want to store 1000 values
     in 5 minute interval, rrdtool will allocate space
     for 1000 data values and a header area."
[...]
    "This automatically limits the history to the last 1000 values."

You didn't read this, or you didn't understand it. Work on this,
it will pay off in the future.

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