Yujun Wu <[email protected]> wrote:
> Could somebody give me some hint on this? I am trying to add a
> new metric into gmond through gmetric. It seems to work fine
> as the newly added metric (with name, value, etc) shows up
> in ganglia web page. However, when I query the node directly
> using telnet 8649, it is not there even when I do this through
> localhost:
> 
> >telnet localhost 8649

This suggests that the gmond on this node is successfully transmitting
the new metric, that metric is picked up by some other node(s), gmetad
is using one of those nodes (that heard this metric) as a data_source,
but that the node that's transmitting the new metric is not, itself,
listening to what it is transmitting.  I'm not sure why that would
happen, since if it were sending its data to a cluster it's not a
member of you'd see other metrics missing as well, but in order for us
to help you out, it would be helpful to know how you've configured
your clusters: what's sending to what (multicast or unicast), what's
listening on what IPs and ports, and which nodes gmetad is reading from.

To help you debug, though, remember this:

  What gmond reports on port 8649 is the set of metrics it has
 *heard about from the network* - it does NOT include its own metrics,
  the ones it collected locally, by default.  It sends those out to
  wherever you're telling it to send stuff, but it will only report
  them on port 8649 if it *received* those metrics via the net.

With multicast, it's simple: configure all nodes in a cluster to both
send and receive on the same IP and port, and all of them will hear
what all of them (including themselves) send.

With unicast, you need to think about it a bit more.
  -- Cos

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to