[rrd-users] How to replicate rrdtool databases?
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
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?
Schaub Consulting GmbH
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
More information about the rrd-users