On Thu, 2007-09-20 at 05:44 +0100, richard grevis wrote:

> There have been discussions earlier about getting each gmond to send a 
> hostname
> rather that using the source address and reverse DNSing it on the headnode.

I would definitely like this functionality.  At first, I thought maybe
this could be a new gmond.conf option, but then I didn't like the idea
that every host would need a different gmond.conf file just to change
the hostname.  

Maybe passing the hostname as a metric might work.  With the new
loadable module support, any type of logic could be implemented to let a
host dynamically determine its "hostname".  (Ganglia could even supply a
default module that just did reverse DNS to find the hostname.)  Of
course, one drawback to this is that the "hostname" metric might not be
the first metric sent (or sent at all), so the receiving gmond might
still have to perform reverse DNS as a backup.

Or maybe the gmond.conf file should just allow an option like
"hostname_command" that lets you specify an external command to run
which then returns the host's name.  I suppose that is much simpler...

-- 
Rick Mohr
Systems Developer
Ohio Supercomputer Center


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to