[mrtg] Re: log rotation
billw at waveform.net
Sat Jul 31 20:33:26 MEST 2004
Why would you want to rotate MRTG logs? The files are a set size that do
not grow over time, which is the whole point of the round-robin database.
MRTG automatically takes care of older data in the files.
If you were to rotate the logs, you would loose all historical data in the
graphs before the time of rotation. Essentially you would force MRTG to
start from scratch with a new log file every time you rotated out the old
If you're just looking to backup the data just copy * in your MRTG
directory to a backup location, or just copy *.log if you want the minimum
data necassary to recreate all the graphs.
> Hi list, what is the safest way to rotate logs?
> i am not sure what will happen when .log and .old are deleted?
> How will grafs look after that?
UNIX Systems Administrator
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
More information about the mrtg