tarjei-

when gmond gets a packet from a host it pulls the source address from the 
header and checks if the ip/hostname pair is in its internal cache.  if 
the ip is in the cache .. it uses that name... otherwise.. gmond will do a 
gethostbyaddr() to resolve the name.  if gethostbyaddr() fails.. it puts 
the ip address as the name.

take a look at the data source which is giving you problems.  log onto the 
machine and pull the XML from port 8649 (telnet localhost 8649).  take a 
look at the IP addresses and try to resolve them with nslookups from the 
data source machine.  if that machine cannot resolve the names then you've 
found your problem.  let us know otherwise.

-- 
matt

Today, Tarjei Knapstad wrote forth saying...

> On Thu, 2002-11-14 at 18:47, [EMAIL PROTECTED] wrote:
> > 
> > I was having a similar problem in my test environment with machine that did
> > not have DNS entries.  I added the to the /etc/hosts file of the
> > webfrontend server and restarted gmond and gmetad and the hostnames
> > appeared.
> > 
> The server running the webfrontend is also a DNS server and has all my
> hosts in DNS, so I'm not very happy with adding them to /etc/hosts. When
> I initially installed and ran, I got all the hostnames correctly, but it
> has gradualy been reduced, and now I'm down to just one... I would
> rather find what causes this problem before resolving to 'hacks' like
> using /etc/hosts (hostnames in my cluster correctly resolve both ways on
> the server running the webfrontend).
> 
> Any other suggestions?
> 
> > 
> > Hi.
> > I've installed the latest version of ganglia on our cluster, as well as
> > the web front end on the server which is accesible through our intranet.
> > However, the web frontend displays only the IP adress instead of the
> > hostname for all but one of the hosts in the cluster(!). (yes, they all
> > have the identical configurations)
> > 
> > Can anyone give me a clue to why this happens/what I could do to trace
> > the problem?
> > 
> 
> Cheers,
> --
> Tarjei
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by: To learn the basics of securing 
> your web site with SSL, click here to get a FREE TRIAL of a Thawte 
> Server Certificate: http://www.gothawte.com/rd524.html
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general
> 


Reply via email to