Thank you ,Rick
I do that ,But It doesn't help.
Now ,I am so upset.
I installed ganglia before in redhat9.And it works well.
And now with fedora5..I think it may be more easy....
I show you a section of my gmond.conf,I think if I just want to moniter
myself,gmond if enough,right?

regards
--------
/* 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 = yes
 user = root
 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 = "unspecified"
 owner = "unspecified"
 latlong = "unspecified"
 url = "unspecified"
}

/* The host section describes attributes of the host, like the location */
host {
 location = "unspecified"
}

/* Feel free to specify as many udp_send_channels as you like.  Gmond
  used to only support having a single channel */
udp_send_channel {
 mcast_join = 239.2.11.71
 port = 8649
}

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

/* You can specify as many tcp_accept_channels as you like to share
  an xml description of the state of the cluster */
tcp_accept_channel {
 port = 8649
}


/* The old internal 2.5.x metric array has been replaced by the following
  collection_group directives.  What follows is the default behavior for
  collecting and sending metrics that is as close to 2.5.x behavior as
  possible. */

/* This collection group will cause a heartbeat (or beacon) to be sent every
  20 seconds.  In the heartbeat is the GMOND_STARTED data which expresses
  the age of the running gmond. */
collection_group {
 collect_once = yes
 time_threshold = 20
 metric {
   name = "heartbeat"
 }
}

2006/10/19, Rick Mohr <[EMAIL PROTECTED]>:


On Thu, 19 Oct 2006, [GB2312] ±ß½­ wrote:

[...]
> <GANGLIA_XML VERSION="3.0.3" SOURCE="gmond">
> <CLUSTER NAME="unspecified" LOCALTIME="1161267410" OWNER="unspecified"
> LATLONG="unspecified" URL="unspecified">
> </CLUSTER>
> </GANGLIA_XML>
> Connection closed by foreign host.
>
> -------------------------------------------------
> I can't get any message about my host.
> And I also tried in Web Fronted.then, I get message
> Cannot find any metrics for selected cluster "my cluster", exiting.
Check
> ganglia XML tree (telnet 127.0.0.1 8652)

The XML looks well-formed, so my initial guess is that gmond is simply not
receiving any metrics.  To test just a single machine, try adding these
lines
to the gmond.conf file:

udp_send_channel {
  host = 127.0.0.1
  port = 8649
}

udp_recv_channel {
  bind = 127.0.0.1
  port = 8649
}

tcp_accept_channel {
  port = 8649
}

This should cause gmond to send all metrics to localhost, and it will also
listen on the localhost interface to collect them.  At that point, running
"telnet localhost 8649" should report some metrics.  If not, then you may
need
to invoke gmond with the -d option to get debugging output and see if that
tells you anything about why it is not working.

-- Rick

--------------------------
Rick Mohr
Systems Developer
Ohio Supercomputer Center

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general



Reply via email to