I've been looking at options for building custom graphs for a benchmarking effort I'm involved in. We're running Ganglia on a set of machines and we need to capture basic performance statistics (CPU, memory, network, and disk I/O) for the period of time that the benchmark is running. I've looked at capturing XML snapshots and using "rrdtool" to fetch the information from the RRD files. However, since my goal is to produce graphs, I'd prefer to leverage the Ganglia web interface, since it looks like the graph PHP scripts can be used as an API.
Are the parameters to the PHP scripts documented anywhere? I've been playing around with the URLs to try to reverse engineer the meaning of the parameters, but that's not terribly efficient. Also, I see that there are a bunch of PHP scripts in the "graph.d" directory that might do what I need them to, but they're not documented. The "sample_report.php" script has some useful documentation, but I'm not trying to create a custom graph, I just want to send my own start and end time to the existing graphs. Here's a sample URL. What I need is a web page that lists all of the parameters and what they mean... http://localhost/ganglia/graph.php?g=network_report&z=large&c=unspecified&s=descending&hc=4&mc=2&st=1273500000&et=1273501200 Thanks. Larry
------------------------------------------------------------------------------
_______________________________________________ Ganglia-developers mailing list Ganglia-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ganglia-developers