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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...