This, combined with your last message, makes it look like gmetad's not getting any data from gmond. That could be because gmond is not configured to accept connections from the gmetad host (yeah, even localhost!) or that there's some other major config wackiness going on.

There doesn't appear to be a default config for gmond shipped with Ganglia 3. That threw me off for a good five or six minutes on my most recent monitoring core installation spree. Fortunately, gmond will spit out its default config when run with the "-t" switch. I copied the output and pasted it into /etc/gmond.conf, then started making changes from there. When checking your config to fix this problem, you'll probably be most interested in the "tcp_accept_channel" block(s)...

Running gmond in the foreground and in debug mode may also be helpful.

Good luck!

[EMAIL PROTECTED] wrote:
Hi:
So gmond starts and Gmetad starts with the following error in the logs:

Here is the error I get in /var/log/messages:

Nov 23 16:05:25 hucosm gmond: gmond shutdown succeeded
Nov 23 16:07:06 hucosm gmond: gmond startup succeeded
Nov 23 16:07:11 hucosm gmetad: Source: [COSM Cluster, step 15] has 1
sources
Nov 23 16:07:11 hucosm gmetad:  137.xxx.xxx.xxx
Nov 23 16:07:11 hucosm gmetad: Sources are ...
Nov 23 16:07:11 hucosm gmetad: Data thread -1270989904 is monitoring
[COSM Cluster] data source
Nov 23 16:07:11 hucosm gmetad:  137.xxx.xxx.xxx
Nov 23 16:07:11 hucosm gmetad: Process XML (COSM Cluster):
XML_ParseBuffer() error at line 1:
Nov 23 16:07:11 hucosm gmetad: no element found
Nov 23 16:07:11 hucosm gmetad: Nov 23 16:07:29 hucosm gmetad: Process XML (COSM Cluster):
XML_ParseBuffer() error at line 1:
Nov 23 16:07:29 hucosm gmetad: no element found


Anyone knows what this means?
~Lawrence


-----Original Message-----
From: Martin Knoblauch [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 23, 2005 1:24 PM
To: SORRILLO LAWRENCE; [EMAIL PROTECTED]
Cc: [email protected]
Subject: RE: [Ganglia-general] Gmetad and rrd



--- [EMAIL PROTECTED] wrote:


Hi:

I did try it. Everything seem to go fine, I got gmetad to start
running.

My complilation did not create a gmond.conf file however, so I used a
gmond.conf file from a 2.5.1 installation and tried to do the

Gmond --convert old-gmond.2.5.1.conf  > /etc/gmond.conf

I notice that the old file seem to want port 8649 in the converted
/etc/gmond.conf file but that the port in gmetad.conf file is 8651.
Is this a problem.



No, port 8651 is the port "gmetad" listens on to answer  requests.

a) on the machine running "gmond" (gmond_host), do a

telnet localhost 8649

 Do you see any useful metric data reported?

b) on the machine running "gmetad", do a

telnet gmond_host 8649

 Do you see the same as with a)?

c) on the machine running "gmetad", do a

telnet localhost 8651

 You should see roughly the same output as b)



Further I specified that the ganglia installation use rrd. I gave
user
nobody owernship of the an rrd db directory as such:

rrd_rootdir "/opt/gp31/rrd1049/db"

however I do not see any databases being created in the
"/opt/gp31/rrd1049/db directory.

Any pointers?



 Is "gmetad" running at all? Try to run it with "-d2". This should give
you some debug output.

Cheers
Martin

------------------------------------------------------
Martin Knoblauch
email: k n o b i AT knobisoft DOT de
www:   http://www.knobisoft.de


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general



Reply via email to