AppD Archive

Agent started successfully but can't see my application in the dashboard

CommunityUser
Splunk Employee
Splunk Employee

Hello AppDynamics community,

I am evaluating several APMs and I came across AppDynamics. I installed the java agent on my tomcat7 server. I checked the logs and found the Agent is started. However, i can't see any applications in my dashboard.

After checking the agent logs it seems that agent actually discovered my application but i don't know why it's not sending any data to the dashboard.

I made sure the connection to port 443 is open by telenetting the url and port and it's working fine.

I am attaching my configuration file, catalina.out.

Thanks in advance.

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Tarek,

What would be really helpful would be the application agent's log file and its controller-info.xml config file that tells the agent where the controller is, ports, etc.

Thanks,

-Brad

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi Bradley,

Here is the the agent log file, I am just testing using the petclinic application which appears in the log file. Also the controller-info.xml. I disabled SSL for now because I am just performing some tests.

Thanks,

Tarek

0 Karma

Arun_Dasetty
Super Champion

Hi Tarek,

Can you please provide values for xml elements application-name, <tier-name> and node-name in /home/tarek/PerformanceMonitoring/AppDynamics/AppServerAgent-4.0.5.1/ver4.0.5.1/controller-info.xml file and as well as /home/tarek/PerformanceMonitoring/AppDynamics/AppServerAgent-4.0.5.1/conf/controller-info.xml and restart the jvm with -javaagent configured and see how it goes.

Also we see you are using https port 443 please set ssl-enabled xml element to true if you are using https mode, if you are using http port 80 you can leave ssl-enabled but we see you are using http port 443 but ssl-enabled in controller-info.xml is not enabled, Hope that information helps.


[AD Thread Pool-Global0] 27 May 2015 10:52:03,542 INFO XMLConfigManager - Full Agent Registration Info Resolver using application name [null]
[AD Thread Pool-Global0] 27 May 2015 10:52:03,542 INFO XMLConfigManager - Full Agent Registration Info Resolver using tier name [null]
[AD Thread Pool-Global0] 27 May 2015 10:52:03,542 INFO XMLConfigManager - Full Agent Registration Info Resolver using node name [null]

[AD Thread Pool-Global0] 27 May 2015 10:52:03,584 INFO XMLConfigManager - Configuration Channel is using ControllerInfo:: host:[paid127.saas.appdynamics.com] port:[443] sslEnabled:[false] keystoreFile:[] validation:[UNSPECIFIED]

refer doc https://docs.appdynamics.com/display/PRO40/Install+the+Java+Agent

For debugging purpose set this xml flag to false for <auto-naming> in controller-info.xml and see how it goes with above changes in place post jvm restart.

Regards

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Thank you Akumar for your help, changing the port to 80 made it.

Basically what i did is that i followed the wizard to download java aganet and unchecked the ssl option in step 2, however it did not change the port to 80. I believe someone needs to fix this.

I am using Firefox 35.0.1 on a ubuntu 14.0.1 box

Thanks a lot again.

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...