I've noticed that if a machine has multiple IP addresses, and they don't
all resolve back to the real hostname, then the metrics in Ganglia's
reports are attributed to the DNS name of the interface rather than the
real hostname of the machine.
I've been experimenting with the use of apr_socket_bind() within
create_net_client() and provided that the gmond receiving the packets
doesn't have some restrictive routing or filtering of source addresses,
this fixes the issue. I can create a config option to make this
behavior configurable on a site-by-site basis - maybe we can call the
option bind_hostname_only and put it within udp_send_channel?
Does anyone else have any comments on this? I will probably submit my
patch for this too, but it would be interesting to hear about other
people's experiences before proposing a solution.
Regards,
Daniel
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time,
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers