I've been thinking about doing something similar, so let me know how it
works out for you.
I believe that you will need an instance of gmetad running, as that is
what provides information to the PHP front-end.
So it seems to me that you would need to do the following:
Make a copy of the rrd files and a copy of the php code as you did.
Then make a copy of the gmetad.conf file, and change the ports that it
listens on to something other than the defaults. While you are in there,
change the location of the rrd files in the config file. Then start
gmetad with this config file.
Change conf.php in the PHP code so that it talks to the port specified
in the gmetad configuration file. You may also need to update your
httpd.conf file, depending on how it's currently setup, to server the
new php code base.
That *should* do it, but I don't think it will work as you or I would
like. The core issue is RRD databases - RRD expects regular data coming
in, and when it doesn't get it, it will interpolate or simply use NaN
values. So with the setup above, it would work today - but going forward
you would lose data off the back end as interpolated or NaN values are
added. A year from now, you'd have nothing left in the copied RRDs.
Maybe we could add a flag to the gmetad.conf file to tell it to stop
adding to the RRDs - if that's even possible.
________________________________
From: [email protected]
[mailto:[email protected]]
Sent: Friday, October 29, 2010 6:25 AM
To: [email protected]
Subject: [Ganglia-general] Archive Ganglia
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.
I'm hoping for an end result of a normal ganglia web structure,
but only containing fixed, read only, historical data.
My archived data is in v3.0 format.
Many thanks, Nigel
___________________________________________________________
This e-mail may contain confidential and/or privileged
information. If you are not the intended recipient (or have received
this e-mail in error) please notify the sender immediately and delete
this e-mail. Any unauthorised copying, disclosure or distribution of the
material in this e-mail is prohibited.
Please refer to
http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=EC
AS-845C5H for additional disclosures.
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general