[mrtg] Re: synchronizing mrtg

Timothy Finkenstadt timothy at aloha.webkahuna.com
Fri Jul 28 21:05:51 MEST 2000


> I have two machines running mrtg and producing graph for the same router. One machine started a long ago, and the second one just started the mrtg service. I want to stop the first machine and continue running the second machine but at the same time I don't want to lose the previous data on the first machine.
> Could anyone tell me how to synchronize the two?

Angshuman,

Having just done this, I split my mrtg from one overloaded HPUX box to
two linux boxes, I rebuilt the config files, then used NFS and cpio to
copy *.log over to my new boxes.  Turned up MRTG, watched it rebuild the
*.png and *.old and voila, I had two linux boxes using my six months of
data previously collected.o

More eplicitly:

from my old stats directory I used the following: 

find . -name *.log -print | cpio -pdmvua /home/mrtg/htdocs/stats


That was all it took.

regards,

tim

--
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