Splunk AppDynamics

"unable to identify hostname" when trying to install the java agent

Amritesh_Kumar
Engager

Hi Team,

Good Day.

Java agent installation is not working for windows. I checked telnet is working i.e connecting with the controller but in error, it is giving like "unable to identify hostname"

Logs :-

[Redacted]

^ Post edited by @Ryan.Paredez to remove log files. Please do not share or attach log files to community posts for security and privacy reasons.

Labels (1)
Tags (2)
1 Solution

Yusuke_Miyahara
Explorer

Hello Amritesh,

Thank you for your request to our community. We are happy to assist you with this matter.

Please make sure the following items.


1. Please confirm that you set <controller-host> in '<agent_home>/verx.x.x.x.x/conf/controller-info.xml'. It is also necessary to set the property such as <application-name>, <tier-name> and <node-name> which is described as "Required:Yes" in the following document.
https://docs.appdynamics.com/display/PRO45/Java+Agent+Configuration+Properties#JavaAgentConfiguratio...


2. If you use a proxy, please set the information in your system property.
https://docs.appdynamics.com/display/PRO45/Java+Agent+Configuration+Properties#JavaAgentConfiguratio...


3. Please share the result of the command "nslookup <YOUR HOST NAME HERE>" in order to confirm that name resolution is working fine.

---<example>-----

C:\Users\myaccount>nslookup mysaasaccount2020021717171312.saas.appdynamics.com
Server: UnKnown
Address: xxx.xx.xxx.xx

Name: xxxxx.saas.appdynamics.com
Addresses: xx.xx.xx.x
xx.xx.xx.x
Aliases: mysaasaccount.saas.appdynamics.com.localdomain

-----------------

If you still have any problem, please copy a few lines of log file which has errors.
(Log files cannot be attached because they are deleted for security and privacy reasons.)


Best regards,
Yusuke

View solution in original post

Yusuke_Miyahara
Explorer

Hello Amritesh,

Thank you for your request to our community. We are happy to assist you with this matter.

Please make sure the following items.


1. Please confirm that you set <controller-host> in '<agent_home>/verx.x.x.x.x/conf/controller-info.xml'. It is also necessary to set the property such as <application-name>, <tier-name> and <node-name> which is described as "Required:Yes" in the following document.
https://docs.appdynamics.com/display/PRO45/Java+Agent+Configuration+Properties#JavaAgentConfiguratio...


2. If you use a proxy, please set the information in your system property.
https://docs.appdynamics.com/display/PRO45/Java+Agent+Configuration+Properties#JavaAgentConfiguratio...


3. Please share the result of the command "nslookup <YOUR HOST NAME HERE>" in order to confirm that name resolution is working fine.

---<example>-----

C:\Users\myaccount>nslookup mysaasaccount2020021717171312.saas.appdynamics.com
Server: UnKnown
Address: xxx.xx.xxx.xx

Name: xxxxx.saas.appdynamics.com
Addresses: xx.xx.xx.x
xx.xx.xx.x
Aliases: mysaasaccount.saas.appdynamics.com.localdomain

-----------------

If you still have any problem, please copy a few lines of log file which has errors.
(Log files cannot be attached because they are deleted for security and privacy reasons.)


Best regards,
Yusuke

Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...