[rrd-users] How to replicate rrdtool databases?
Markus Schaub
mrtg at s-c.biz
Fri Dec 13 18:01:50 MET 2002
I have to separate the collection of the network data from
the presentation onto two systems. mrtg is collecting data
into rrd, the frontend needs access to the data.
I wonder which way would be best to replicate the data
from the collector system to the presentation system.
The configuration files are rsync'ed. I considered rsync'ing
the data from the collector to the presenter as well, but
how much unchanged data would be transfered? I guess
a lot.
My current idea is a patch at the RRD calls in mrtg which
writes the arguments of the RRDs::update statements to
a file. This file is then copied onto the presenter and there
a simple perl script reads the file and executes the RRD:update
commands to keep the slave copy in sync.
Regular transfers of the complete rrd file (one a day) would
ensure the copies stay in sync.
What do you think about this? Will this work or did I
miss any potential problems or is there an easier solution?
Thanks
Regards
Markus Schaub
Markus Schaub
Schaub Consulting GmbH
Postfach 78
4852 Rothrist
www.s-c.biz
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list