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!

Get Schooled with Splunk Education: Explore Our Latest Courses

At Splunk Education, we’re dedicated to providing incredible learning experiences that cater to every skill ...

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...