[mrtg] Re: Combining Log Files
Eldon Balzer [MRTG]
mrtg at vr6.ca
Wed Nov 20 20:17:43 MET 2002
I will give this a try... but I have 1500+ interfaces monitored at work...
and would like to use a script to update all the log files. I am
currently doing this testing on a machine at home.
On that note are the log files differnt between platforms? We have MRTG
running on Windows NT/2K and Linux.
Thanks!
-= EB =-
On Wed, 20 Nov 2002,
Alex van den Bogaerdt wrote:
>
> 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
>
--
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