Arun,
as an example, run nc localhost 8651 on your ganglia server.
That is the grid level raw data that could be used for snapshot
processing.
If you netcatted directly to a cluster member (or headnode if you
unicast), then
that provides current values for the cluster.
So even though a C API
there is a C api for getting stats. if you take a look at
./gmond/gstat/gstat.c, you'll get an example of how to use it. you'll
need to link against libganglia.
gexec_cluster_t cluster;
gexec_host_t *host;
llist_entry *li;
rval = gexec_cluster(cluster, ip, port );
if ( rval != 0) { /* could