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!

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureOn Demand Now Step boldly into the AI revolution with enhanced security ...