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!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...