[rrd-users] Re: Question regarding the preservation of granularity...

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Thu Jun 21 01:57:52 MEST 2001


Lightfoot, Kirk wrote:

> Currently I'm sticking an interger value (current player count of one of our
> premium games) into mrtg every 5 minutes.  What I'd like to do is preserve
> the maxumim count for each day and never lose values due to expiring.  Is
> there a way to do this using RRDTool?

MRTG should automatically convert its log file to a RRD.  I'm not
sure if the maximum counter will also be converted but it's easy
to try and the log files shouldn't be destroyed.  Make a backup
anyway before you start, enter the RRDtool magic in the config file,
run MRTG, remove the RRDtool magic again and start testing the generated
RRD.  While you're doing this MRTG will continue logging the old way.
After testing, rename or delete the RRD.

Keeping the maximum for each day is a bit hard to do.  But then again,
you can't to this with MRTG either.  Both MRTG and RRDtool work with
UTC time and there is no time zone in the world that I know of, including
the UK, that works with UTC time and no daylight saving.

If you can live with keeping the stats per 24 hours, not 00:00 - 24:00,
the default is to keep over 2 years of information.  If this is not
enough you can alter the size of the RRAs involved using "rrdtool resize".

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