Re: [Ganglia-general] counting all hosts

2010-05-04 Thread Ron Wellnitz
Hi Ron, one possibility in php is test.php: ?php include_once ./conf.php; include_once ./get_context.php; include_once ./functions.php; include_once ./ganglia.php; include_once ./get_ganglia.php; Gmetad(); #print_r($grid); $mygrid=array_shift($grid); print br.$mygrid[NAME].br;

Re: [Ganglia-general] Ganglia Node Graphs not Showing

2010-05-04 Thread Ball, Martin
Bernard, I have checked my httpd error logs and I got a load of file not found warnings in the RRDS directory, upon checking this directory I noticed that my machine name directory was all lower case - when the error logs reported the hostname to be in capitals. I moved this directory to be

Re: [Ganglia-general] counting all hosts

2010-05-04 Thread Jesse Becker
On Tue, May 04, 2010 at 10:58:21AM -0400, Bennett, Ron wrote: Ron, Thanks, this is what we need. In case we decide not to count rrd files, is there equivalent code to the following to count all hosts in a single cluster? #print_r($grid); $mygrid=array_shift($grid);

[Ganglia-general] ganglia.h - problem using with C++ compiler

2010-05-04 Thread Susan Kasahara
Hi ganglia developers, I'm a relatively new user of Ganglia. I'm using it to monitor a data acquisition system, in which each component of the data acquisition system will have the possibility of injecting custom metrics. I'm creating a C++ wrapper for the gmetric C functions to make it

[Ganglia-general] Fix in TOT

2010-05-04 Thread Bennett, Ron
We have been debugging a problem in 3.1.7 when using gmetric with SPOOF_HOST on large clusters. The symptom is that the individual host data is correct for all hosts and the summary_info data is correct for clusters with 32 hosts, but the summary_info rrd file is missing on clusters with 32

Re: [Ganglia-general] Weird system/idle cpu metrics (ppc64)

2010-05-04 Thread Rafael Xavier de Souza
Hello Kostas, Here is a theory and a patch fixing it. (which I'm submiting in the sequence) Ganglia uses float variables (double) to store the jiffies and the jiffies sums. Analyzing how procps [1] works with /proc/stat, I see it uses integer values (unsined long long) to store those same