The reason I changed the path for the rrdtool was because when I
installed ganglia with ./configure --with-gmetad
It couldn't find the rrdtool.
I trying to install ganglia-3.0.4 with only the option
./configure --with-gmetad
But I got this
rrd lib not found
checking rrd.h usability... no
checking rrd.h presence... no
checking for rrd.h... no
but the rrdtool is installed, but it can't find it in the standard path,
so I did this. Before I removed the config.cache
[EMAIL PROTECTED]:~/ganglia-3.0.4# ./configure
CFLAGS"-I/usr/local/rrdtool-1.2.23/include"
CPPFLAGS="-I/usr/local/rrdtool-1.2.23/include"
LDFLAGS="-L/usr/local/rrdtool-1.2.23/lib" --with-gmetad
no output errors.
Then I create the default gmond --default_config > /etc/gmond.conf
And copy the gmond and gmetad to /etc/init.d
Then I edit the /etc/gmond.conf and add the localhost and started the
gmetad.
When I fire my browser I only see the regular website with the ganglia
logo, but I don't get to see the localhost there.
This is my /etc/gmond.conf
* of a <CLUSTER> tag. If you do not specify a cluster tag, then all
<HOSTS> will
* NOT be wrapped inside of a <CLUSTER> tag. */ cluster {
name = "serenity"
owner = "unspecified"
latlong = "unspecified"
url = "unspecified"
}
This is my /etc/gmetad.conf
# data_source "my cluster" 10 localhost my.machine.edu:8649
1.2.3.5:8655 # data_source "my grid" 50 1.3.4.7:8655 grid.org:8651
grid-backup.org:8651 # data_source "another source" 1.3.4.7:8655
1.3.4.8 # data_source "serenity" 127.0.0.1:8652
These are the message from /var/log/syslog.
Jul 13 13:31:32 apprep ./gmetad[30049]: poll() timeout for [serenity]
data source after 0 bytes read Jul 13 13:31:32 apprep ./gmetad[30049]:
Got a malformed path request from 127.0.0.1 Jul 13 13:31:32 apprep
./gmetad[30049]: server_thread() 1159859120 unable to write root
preamble (DTD, etc)
And I still getting /var/log/apache2/error.log
It happened when I click the "Get Fresh Data" from the browser
ERROR: opening
'/usr/local/rrdtool-1.2.23/share/rrdtool/rrds/__SummaryInfo__/load_one.r
rd': No such file or directory
ERROR: opening
'/usr/local/rrdtool-1.2.23/share/rrdtool/rrds/__SummaryInfo__/mem_total.
rrd': No such file or directory
Please help.
>>-----Original Message-----
>>From: Bernard Li [mailto:[EMAIL PROTECTED]
>>Sent: Thursday, July 12, 2007 5:28 PM
>>To: Jose Lombera
>>Cc: [email protected]
>>Subject: Re: [Ganglia-general] can't get to work the browser images
for
>>localhost
>>
>>I would recommend that you set gmetad_root back to
/var/lib/ganglia/rrds.
>>
>>The directory /usr/local/rrdtool-1.2.23/share/rrdtool is probably not
>>writeable by the user which runs gmetad (usually nobody).
>>
>>P.S. The latest version of Ganglia is 3.0.4, you should try that
instead.
>>
>>Regards,
>>
>>Bernard
>>
>>On 7/12/07, Jose Lombera <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>>
>>> Hello,
>>>
>>>
>>>
>>> I need help, I can't figure it out for the last 4 days I'm trying to
>>> configure ganglia and still having problems.
>>>
>>> I checked the archives, but nothing is close to my problems.
>>>
>>>
>>>
>>>
>>>
>>> I'm running Debian sarge 3.0
>>>
>>>
>>>
>>> At the beginning install it using apt-get, but the installation was
>>2.5.7,
>>> so I decided to install it by source.
>>>
>>>
>>>
>>> Now I have 3.0.3 running with gmetad web frontend 3.0.3
>>>
>>>
>>>
>>> I can't get to get images in the browser.
>>>
>>>
>>>
>>>
>>>
>>> I'm still getting this in the /var/log/apache2/error.log
>>>
>>>
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/load_one.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/mem_total.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/load_one.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/mem_total.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/load_one.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/mem_total.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/mem_total.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/load_one.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/load_one.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/mem_total.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/load_one.rrd':
>>> No such file or directory
>>>
>>> ERROR: opening
>>> '/usr/local/rrdtool-
>>1.2.23/share/rrdtool/rrds/__SummaryInfo__/mem_total.rrd':
>>> No such file or directory
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> I installed rrdtool-1.2.23 from source as well.
>>>
>>>
>>>
>>> [EMAIL PROTECTED]:/usr/local/rrdtool-1.2.23/include# ls
>>>
>>> rrd.h
>>>
>>>
>>>
>>> [EMAIL PROTECTED]:/usr/local/rrdtool-1.2.23/bin# ls
>>>
>>> rrdcgi rrdtool rrdupdate
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> This is my /var/www/ganglia/conf.php
>>>
>>>
>>>
>>> # Where gmetad stores the rrd archives.
>>>
>>> #$gmetad_root = "/var/lib/ganglia";
>>>
>>> $gmetad_root = "/usr/local/rrdtool-1.2.23/share/rrdtool";
>>>
>>> $rrds = "$gmetad_root/rrds";
>>>
>>>
>>>
>>> # Leave this alone if rrdtool is installed in $gmetad_root,
>>>
>>> # otherwise, change it if it is installed elsewhere (like /usr/bin)
>>>
>>> define("RRDTOOL", "/usr/local/rrdtool-1.2.23/bin/rrdtool");
>>>
>>>
>>>
>>>
>>>
>>> this is my /etc/gmond.conf
>>>
>>>
>>>
>>> /* This configuration is as close to 2.5.x default behavior as
possible
>>>
>>> The values closely match ./gmond/metric.h definitions in 2.5.x */
>>>
>>> globals {
>>>
>>> daemonize = yes
>>>
>>> setuid = no
>>>
>>> user = ganglia
>>>
>>> debug_level = 0
>>>
>>> max_udp_msg_len = 1472
>>>
>>> mute = no
>>>
>>> deaf = no
>>>
>>> host_dmax = 0 /*secs */
>>>
>>> cleanup_threshold = 300 /*secs */
>>>
>>> gexec = no
>>>
>>> }
>>>
>>>
>>>
>>> /* If a cluster attribute is specified, then all gmond hosts are
wrapped
>>> inside
>>>
>>> * of a <CLUSTER> tag. If you do not specify a cluster tag, then
all
>>> <HOSTS> will
>>>
>>> * NOT be wrapped inside of a <CLUSTER> tag. */
>>>
>>> cluster {
>>>
>>> name = "serenity"
>>>
>>> owner = "unspecified"
>>>
>>> latlong = "unspecified"
>>>
>>> url = "unspecified"
>>>
>>> }
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> How can I test if the rrdtool are able to create the ganglia images?
>>>
>>>
>>>
>>> Or any idea of how to fix this issue?
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --jose
>>>
>>>
>>>
>>>
>>>
------------------------------------------------------------------------
>>-
>>> This SF.net email is sponsored by DB2 Express
>>> Download DB2 Express C - the FREE version of DB2 express and take
>>> control of your XML. No limits. Just data. Click to get it now.
>>> http://sourceforge.net/powerbar/db2/
>>> _______________________________________________
>>> Ganglia-general mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/ganglia-general
>>>
>>>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general