[mrtg] Re: Combining Log Files

Alex van den Bogaerdt alex at ergens.op.het.net
Wed Nov 20 19:58:34 MET 2002


On Wed, Nov 20, 2002 at 10:50:33AM -0800, Eldon Balzer [MRTG] wrote:

> I have gone through the archives and am looking for a utility/script that
> will allow me to combine two MRTG logs files.  I upgraded a Linux machine
> recently.  Now I have old log files with 10+ month's worth of data... and
> wish to add this data to the new logs.

I'm sure I have posted a way to do this, without using a script.

It boils down to this:

1) make sure both log files are recently updated 
2) cut the two log files at a suitable point in time
3) combine the first few lines of your current log file with
   the 2nd half of the previous log file

HTH
Alex

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list