Splunk AppDynamics

Unable to Deploy Agent on AWS

CommunityUser
Splunk Employee
Splunk Employee

We are having issues deploying app agent on our AWS environment.

We can deploy the agent and monitor the application on our local machine.  However, when deploying our application to an AWS environment we fail to see data coming from the environment and see errors in the AppD logs.

Any assistance on this would be highly appreciated. 

Thanks,

Sayed

Labels (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi,

Can you please let me know the process that you followed for Agent installation for an application hosted in AWS?

Regards

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
Spoiler
I also need to know the steps to connect appD to EC2 via tomcat any help would be greatly appreciated 
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

To ‘add a little color’ to the issue Sayed is referring to:

We’re currently evaluating AppD’s Node.js agent for our containerized application.  After building our application’s docker image and running the container on our workstations, the application successfully connects to our SaaS controller and reports application metrics.

When the same container is deployed to our Kubernetes cluster(hosted on AWS EC2/VPC), the container runs with no issue from the perspective of the application - however we do not see data being reported to the Controller console.  We’ve confirmed SaaS controller connectivity from the application container using curl(curl -I “https://our.saas.fqdn”) and recieve a 200 response.

We're using no other AppD agents other than the application agent for Node.js 8.9.1.

I've attached the agent log file if it's of any help.

0 Karma

Peter_Holditch
Builder

It looks like the agent is unable to launch its communcation proxy:

[2018-03-13 14:12:31.062] [INFO] default - Proxy logging to: /tmp/appd/709d8f016ec1eba1a412d004d957647e/proxy/l
[2018-03-13 14:12:31.062] [INFO] default - Proxy spawned!
[2018-03-13 14:12:40.855] [ERROR] default - no response on control socket
[2018-03-13 14:12:40.888] [ERROR] default - unable to contact proxy

Are there any proxy logs?  If so, could you post them?  If not, could you collect debug logs from the agent and post these?

Warm regards,

Peter

CommunityUser
Splunk Employee
Splunk Employee

Hello Peter,

We've enabled debug verbosity and have attached the logs of both the agent and proxy.

Thanks,

Christian

0 Karma

Peter_Holditch
Builder

I see nothing obviously wrong in these logs.  The log from the proxy instance servicing the node process would be useful too.

I suggest the best way to take this forward is via a support ticket; are you able to open one and attach all the logs?

Warm regards,
Peter

0 Karma

Peter_Holditch
Builder

What errors do you see in the agent logs?

We have many customers monitoring applications deployed in EC2, so there is no fundamental problem with what you are doing.

Warm regards,

Peter

0 Karma
Get Updates on the Splunk Community!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

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