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;
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
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);
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
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
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
6 matches
Mail list logo