[mrtg] Re: GEtting history graphs

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Mon Jan 3 18:33:36 MET 2000


Daniel Curry wrote:
> 
> Is there a way to 're-create' a graph on a passed day?
> 
> Last Thrusday we had a system crash, purported due to memory and swap
> space maxing to 100%, I would like to re-create the graph for that time
> frame. 
> 
> Does anyone have an idea how to do this?
> 
This information has already been removed from the log file.  It only
stores about 3000 minutes worth of 5-minute samples (2 days + 2 hours).

The data is still available in the 30-minute samples, and should be
visible in the weekly log.  If necessary, turn on "WithPeaks".

If you have backups of your logfiles, you could restore them and perhaps
reset the time on you machine (cron disabled; restore in another dir).

See the doc directory for more information on the logfile format.

Suggestion for future problems:  Each midnight move the *-day.gif file
to *-yyyymmdd.gif (i.e. move router-day.gif to router-20000103.gif).
Use yyyymmdd to autosort the files.

regards
-- 
   __________________________________________________________________
 / 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 |
+----------------------------------------------------------------------+

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mrtg-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/mrtg



More information about the mrtg mailing list