Thanks Matthias:  Now it is accumulating, and I get graph
displays from the WEB page.

--Hiram

On 2007 Feb 20, , at 9:35 PM, Matthias Blankenhaus wrote:

Hi Hiram !

Before trying multicast I would try to use unicast
in gmond.conf.  It's possible that your network
environment (e.g. switch) does not handle IP multicasting
properly.
For unicast the logic has to be that your gmond sends itself
data.  For instance:

gmond.conf:
....

udp_send_channel {
host = mitzie
port = 8649
}

/* You can specify as many udp_recv_channels as you like as well. */
udp_recv_channel {
port = 8649
}


Then issue a

telnet mitzie 8649


You should get a reply with lots of XML tags.
Once you get the unicast going, then move to IP multicasting if
necessary.

Hope that helps,

Matthias


On Tue, 20 Feb 2007, Hiram Clawson wrote:

Thanks Seth and Ben for the advice.  I can run both gmond and
gmetad in debug mode.  gmond says it is collecting data and
sending messages (who is it sending them to ?)

gmetad starts up and says:
[EMAIL PROTECTED] rrds]# pwd
/var/lib/ganglia/rrds
[EMAIL PROTECTED] rrds]# ls -la
total 16
drwxr-xr-x  2 root root 4096 Jun 19  2006 .
drwxr-xr-x  3 root root 4096 Feb 17 21:26 ..
[EMAIL PROTECTED] rrds]# gmetad -d99
Going to run as user root
Sources are ...
Source: [mitzie, step 10] has 1 sources
         127.0.0.1
xml listening on port 8651
interactive xml listening on port 8652
cleanup thread has been started
Data thread -1271288912 is monitoring [mitzie] data source
         127.0.0.1
[mitzie] is a 2.5 or later data stream
hash_create size = 1024
hash->size is 1031
hash_create size = 50
hash->size is 53

And then, for every [interval] seconds it merely says:
[mitzie] is a 2.5 or later data stream
[mitzie] is a 2.5 or later data stream

What's up with the "Data thread -1271288912" ? That seems a bit weird.

It never says anything about polling anything, or writing
any files.  Nothing, just all about this data stream version.

I've tried it as user setuid "ganglia" and user "root"
Same behavior either way.  (with appropriate owner on ganglia/rrds/)

My full gmetad.conf spec says:
data_source "mitzie" 10 127.0.0.1:8649
gridname "HomeGrid"
authority "http://localhost/ganglia/";
trusted_hosts 192.168.1.71 127.0.0.1
all_trusted on
setuid off

Anything wrong with that ?

--Hiram

On 2007 Feb 20, , at 8:36 PM, Ben Hartshorne wrote:
On Mon, Feb 19, 2007 at 12:02:13AM -0800, Hiram Clawson wrote:
Nothing accumulates in /var/lib/ganglia/rrds/
the directory sits there empty.  gmond and gmetad are running
just fine.

I'm sure you've already checked this, but just in case, I have to ask -
what are the permissions on /var/lib/ganglia/rrds/?  Does the user as
which gmetad is running have write privs on that directory?


---------------------------------------------------------------------- ---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php? page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general




Reply via email to