Splunk AppDynamics

AppDynamic Agent page not loading nor can see any logs under agent logs

CommunityUser
Splunk Employee
Splunk Employee

Hi ,

I installed the java agent for my java application, and can see in the tomcat logs that agent has started:

[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Java Agent Directory [/external/nsaxena/appagent/ver4.3.3.1]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Java Agent AppAgent directory [/external/nsaxena/appagent/ver4.3.3.1]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - ####################################################################################
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Java Agent Directory [/external/nsaxena/appagent/ver4.3.3.1]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Java Agent AppAgent directory [/external/nsaxena/appagent/ver4.3.3.1]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - Using Java Agent Version [Server Agent v4.3.3.1 GA #15212 r${env.GIT_COMMIT} 2740-4.3.3.next-analytics]
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[INFO]: JavaAgent - All agent classes have been pre-loaded
[Thread-0] Wed Jun 28 11:38:12 CEST 2017[DEBUG]: JavaAgent - Using Java Version [JAVA_18] for AppDynamics Java Agent
Running obfuscated agent
Started AppDynamics Java Agent Successfully.
[Thread-0] Wed Jun 28 11:38:18 CEST 2017[INFO]: JavaAgent - Started AppDynamics Java Agent Successfully. 

 but i cant see agents under AppDynamics agent page nor any logs being created for agent under 

/external/nsaxena/appagent/ver4.3.3.1/logs/.?

 

What am i missing?

 

Regards

Narita

Labels (1)
0 Karma

Rajesh_Putta
Communicator

Hi Narita

Could you please confirm that you have passed application, tier and node name and other configurations under controller-info.xml file located under <agent-install-dir>/conf folder as per

https://docs.appdynamics.com/display/PRO43/Install+the+Java+Agent

https://docs.appdynamics.com/display/PRO43/Java+Agent+Configuration+Properties

If yes, please send us

1) startup scripts what ever configuration that you have added

2) output of listed command

ps -ef |grep "java"  

Also please ensure 

  • The user under which the JVM runs must have write privileges to the conf and logs directories in the Java Agent home. To achieve this, you can install the agent as the same user that owns the JVM or as an administrator on the host machine. You can restrict the remaining contents of the agent directory to read only access. 

Thanks

Rajesh

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Rajesh,

Thanks, i got it working by adding node name in controller-info.xml, as i think tomcat wasnt finding it and it wasnt generate automatically. Also browser required flash to view agents.

Regards

Narita

0 Karma

Rajesh_Putta
Communicator

Hi Narita,

Glad to hear this good news.

Thanks

Rajesh

0 Karma
Get Updates on the Splunk Community!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

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 ...