On Oct 29, 2010, at 5:24 AM, nigel.le...@uk.bnpparibas.com wrote:

> 
> For various convoluted reasons, I would like to copy my rrd files to another 
> server, and view them as a point in time archive. In effect just have the 
> webfrontend running, and no gematd or gmond processes. 
> 
> Any ideas ? It seems that simply copying the /var/www/html/ganglia and 
> /data/rrds directory does not work, as the webfrontend requires new data to 
> as input. 


Simply copying the files won't work because of the way rrd averages out data 
and expects new input.

The "correct" way to keep old data is to create the the RRDs with an RRA that 
holds data for as long as you want it. An alternative (painful) method is do 
dump the rrd's and use the xml output as your archive.


Another option to look into is the way rrdtool allows you to specify a time 
period to create a graph for. The ganglia frontend defaults to "now" for the 
end time. So you could copy your rrds somewhere, and tweak the php scripts to 
change "now" to the last time the rrds were updated.

This might not scale too well though, depending how many "point in time" 
archives you need to keep available.


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Ganglia-general mailing list
Ganglia-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to