In regards to the Java agent or any other agent that attaches to the Enterprise Manager, how does the agent get the "Host Machine" name? Does the agent at startup on a server get the hostname from /etc/hosts, DNS, etc?
The agent uses the Java getHostName() API. EM does the same thing.
Interesting, so when the java agent starts on a server it uses that "Java getHostName() API" to discover the server host name, can you tell me on where to find this line of code?
thanks for your input,
Hi here is a link to the API.
InetAddress (Java Platform SE 7 )
Thank You very much for the help and information!
Systems Performance Unit
Department of Child Support Services
Autonaming is discussed at length in Java Agent Naming - CA Application Performance Management - 10.3 - CA Technologies Documentation
Do you have any followup questions or did you get the answers that you were seeking? Please let us know.
Actually, according to his screenshot, domain1 would fall under the autonaming convention. qw32vtest01 is his hostname and the one he's asking on how we determine what it is.
But still a good read on the autonaming though.
9.6 (Closest I can find online but should be the same is ) CA APM Java Agent Implementation Guide
Thanks Pat. Marking as answered
Retrieving data ...