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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

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

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...