On Tue, Aug 30, 2005 at 08:23:10AM +1000, Ashley Wright wrote:
> Hi,
> 
> I have noticed that sometimes my hosts on ganglia are called 'node001' 
> and sometimes 'node001.ibm.grid.qut.edu.au'.
> 
> How does ganglia determine the name of the node? I was short names in 
> all my configurations, and in my /etc/host file. However the reverse 
> lookup for dns is the FQDN (as you would expect). 'hostname' also 
> returns the FQDN.
> 
> What information does ganglia use, as sometimes I get the short name and 
> sometime the FQDN.

I believe Ganglia uses the result of gethostbyname.  This is generally
succeptable to issues like ordering of entries in /etc/hosts and of
course nsswitch.conf configuration.  To aid in diagnosis, you may want
to use a tool like gh-tool.

http://sourceforge.net/projects/gh-tool/

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

Attachment: pgpPXBK20Jy5v.pgp
Description: PGP signature

Reply via email to