[rrd-users] Re: MRTG to RRD XML file

Dale Hege fhege at sover.net
Wed Aug 18 17:45:46 MEST 1999

On Wed, 18 Aug 1999, Alex van den Bogaerdt wrote:

> > Okay, at this point I'm just working on the math. :) Can someone let me
> > know if I'm going in the wrong direction. 
> > 
> > I read in the MRTG log file.
> > Split it up into the 5 pieces. time, in, out, maxin, & maxout.
> > Run though and break up the information into the 4 curves.
> > Search for missing intervals.
> > 	Take missing intervals and look for data in that interval and
> > 	create a value. (Currently from more recent data, I should
> > 	probably also look at the history for current interval.)
> > 
> > 	I will also take the largest value found and stick it in as the
> > 	max for the interval.
> > 
> > 
> > That's it for now. Comments are very welcome.
> > 
> Looks okay to me. If you do it this way, and check it against the file
> you created by rrdtool itself you'll know if it is correct.
> Please note that, as far as I know, there is no redundant data in an
> mrtg logfile. You will have to calculate 50 hours of 30-minute samples
> at the beginning from the 5-minute samples and so on.

Yep, I saw that. The question I have is what do with the most recent



* To unsubscribe from the rrd-users mailing list, send a message with the
  subject: unsubscribe to rrd-users-request at list.ee.ethz.ch

More information about the rrd-users mailing list