> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:smokeping-users- > [EMAIL PROTECTED] On Behalf Of King, Michael > Sent: Friday, July 22, 2005 12:41 PM > To: Smokeping Users > Subject: [smokeping-users] Using Rsync > > Anyone willing to share they're Rsync config? I've never used it > before, and I'm having a little trouble figuring it out. > > We want to have a bunch of remote machine's collecting the smokping > information, but then use Rsync to move the RRD's back to a main host > for graphing.
If you enable passwordless ssh access from your collectors to the central host you can do the following from your collector -- /usr/bin/rsync -az --delete -W -e /usr/bin/ssh /usr/local/smokeping/var/[some branch] your.central.host:"/usr/local/smokeping/var/" We opted to use the -W (whole file) option since bandwidth usage wasn't a consideration for us. I'm not sure if rsync's partial file support works with rrd files so YMMV if you use that. We sync 6G of rrd files every 3 hours using this method and haven't had any problems in 3 years. -- Marc -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://lists.ee.ethz.ch/smokeping-users WebAdmin http://lists.ee.ethz.ch/lsg2.cgi
