How does the Foglight Agent Manager (FglAM) find the correct host name?
During FglAM start up the following line is logged into the log file:
VERBOSE [Startup Thread] com.quest.glue.core.config.ParsedGlueConfig - No host name was specified, using the guessed value myHost.myCompany.com
In the .../etc/hosts file 2 host names are defined. How does the FglAM know, which one should be picked up?
The best/correct hostname that the Fglam is likely to use is the fully qualified hostname. The most fully qualified host name is defined by counting the number of components in the name. If it is found that there are multiple names, with the same number of components then the names are sorted alphabetically and the first one from the list will be taken.
A single element name will always be used in preference to an IP address. An IP address will only be used when there is no host name available.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center