I just committed r1460 to trunk.  This adds the $use_fqdn_hostname
setting to conf.php.  The default behavior is to *not* show the FQDN.
The patch adds a small utility function to remove everything after the
first "." character in a hostname, and then adds checks for
$use_fqdn_hostname in the various graphing functions.

It is possible to turn this option on, so that the FQDN is shown, but
hosts that report themselves using only a short hostname will still be
displayed as such, since we can't magically conjure an arbitrary
domain for hosts that lack them.

On Tue, Jun 24, 2008 at 13:27, Bernard Li <[EMAIL PROTECTED]> wrote:
> Hi Carlo:
>
> I saw the comment in the STATUS file in 3.1 branch.
>
> Can you post a screenshot of what the graph looks like?
>
> We could probably get around it by having a user-configurable option
> $use_fqdn_hostname in conf.php to determine whether we use FQDN or
> short hostname when rendering the graphs.  This has been a feature
> request and could potentially get around the issue.  Of course if your
> short hostname is actually "long" -- then nothing we could really do
> can help.
>
> Cheers,
>
> Bernard
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Ganglia-developers mailing list
> Ganglia-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ganglia-developers
>



-- 
Jesse Becker
GPG Fingerprint -- BD00 7AA4 4483 AFCC 82D0 2720 0083 0931 9A2B 06A2

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Ganglia-developers mailing list
Ganglia-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ganglia-developers

Reply via email to