Stas Oskin <[email protected]> wrote: > Currently Ganglia web shows the hosts with reverse DNS names. > > Is there any way to show the host-names instead?
It's not clear what you mean. You may mean one of these: 1. You see fully qualified names, and you want to see just hostnames with no domains. 2. You see the names returned by a reverse lookup on the IP, but you'd rather see *different* names, maybe node names you put in your gmond.conf or something else. If what you mean is #1 (you've got the right hostnames, as returned by the reverse lookup, and you want to see those very same hostnames but without the rest of the domain), then: - I used to put lines in /etc/hosts on the gmetad server to explicitly list a hostname w/o domain first for each gmond node's IP (1.2.3.4<tab>hostname hostname.domain) and as an added safety measure, I made symlinks in the RRD directory so that if gmetad tried to access an RRD for the full domain name, it'd go to the same directory. I also wrote a script that, via makefile, automatically made sure all the right symlinks were present. - I, and a few other people, asked for an option to Ganglia-Web to make it display hostnames without domains, and I think that got added in some release over the past year. If what you mean is #2, then I think you're not alone in wanting to be able to set the node name in that node's gmond.conf and have that name be used by gmetad regardless of reverse lookups on the IP. I don't think Ganglia supports that yet. -- Cos ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Ganglia-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ganglia-general

