[mrtg] Re: Generating MRTGs from historical logs

Matthew Petach mpetach at yahoo.com
Thu Oct 5 08:47:35 MEST 2006


You can pass the timestamp into rateup explicitly,
avoiding the need for the 'sleep' call, and allowing
you to stuff data in from any historical time period,
so long as you do it in sorted order.  I have a script
called mrtg_stuffer.pl that stuffs historical data in
for you.  You can read the description for it, and
grab a copy from here:
http://web.archive.org/web/20021010035349/buckaroo.xo.com/MRTG/

Good luck with it!

Matt


----- Original Message ----
From: Stephen Jones <sjones at sevcom.com>
To: mrtg at list.ee.ethz.ch
Sent: Wednesday, October 4, 2006 6:33:15 PM
Subject: [mrtg] Generating MRTGs from historical logs

I did a bit of searching on the web and on the MRTG site and I couldn't
find an information about how to generate graphs from historical logs.

I've been able to 'fake' it, but I can't get around the 300 second
minimal 'sampling' interval, so as an experiment I just fed some of
the data in chunks with a sleep of 300 seconds between each chunk.

Of course, that sounds really tedious.  Has someone already done the
work to allow for something like this?  I've got about 10 to 15 years
worth of data I'd like to start working with.  Specifically I'm looking
for something to alter MRTG's time perception, not for a logfile parser.
I can provide the metrics myself, I just need a way to fool mrtg.

Thanks

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







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



More information about the mrtg mailing list