Discussion Feed
04-08-2021
07:13 AM
3 Kudos
Hi Mario, I have solved the issue by deploying the Machine Agent Bundle instead of the standalone Machine Agent. As soon as I started the machine agent with <sim-enabled>true</sim-enabled> and <docker-enabled>true</docker-enabled> set to true in the controller-info.xml it worked! So summarized you need the following for Container Monitoring: Server Agent Image from Docker Hub running as Container Your underlying application containers (instrumented with java agent) A Machine Agent with <sim-enabled> and <docker-enabled> set to true I think that wasn't quite clear from the AppD documentation. Thank you, Mario. Best, Christian
... View more
04-08-2021
05:17 AM
Hey Mario, The machine agent and java agent are running on the same host. I am running the machine agent as a standalone container by using the AppD image from the Docker Hub (docker pull store/appdynamics/machine:4.5). The petclinic application is running on a separate container instrumented with a java agent. I supposed that the container with the machine agent is able to detect the container with the petclinic application automatically, since it is instrumented with the java agent. << Is the Machine agent registered to the petclinic Application?>> How would I do that? Here is what I see when I click on Servers: Best, Christian
... View more
04-07-2021
07:59 AM
Hello, we are using a standalone machine agent to monitor a java application which is deployed in a Docker container. The machine agent is installed in a standalone container. Our Dockerfile, where the directory ./AppServerAgent contains the machine agent: FROM openjdk
WORKDIR /app
ENV APPDYNAMICS_AGENT_APPLICATION_NAME=petclinic
ENV APPDYNAMICS_AGENT_TIER_NAME=petclinic-tier
ENV APPDYNAMICS_AGENT_ACCOUNT_NAME=customer1
ENV APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY=41130855-4203-471e-a836-3d241c9e8794
ENV APPDYNAMICS_CONTROLLER_HOST_NAME=ec2-3-122-240-100.eu-central-1.compute.amazonaws.com
ENV APPDYNAMICS_CONTROLLER_PORT=8090
ENV APPDYNAMICS_CONTROLLER_SSL_ENABLED=false
ENV APPDYNAMICS_AGENT_NODE_NAME=petclinic-node
COPY ./AppServerAgent/ /opt/appdynamics/
COPY ./target ./target
CMD ["java", "-javaagent:/opt/appdynamics/javaagent.jar", "-jar", "target/spring-petclinic-2.4.2.jar"] We use the official docker image of AppDynamics from the Docker Hub: docker pull store/appdynamics/machine:4.5 And run the container with the following parameters referring to our on-prem AppD Controller: docker run -d \
-e APPDYNAMICS_CONTROLLER_HOST_NAME=ec2-3-122-240-100.eu-central-1.compute.amazonaws.com \
-e APPDYNAMICS_CONTROLLER_PORT=8090 \
-e APPDYNAMICS_CONTROLLER_SSL_ENABLED=false \
-e APPDYNAMICS_AGENT_ACCOUNT_NAME=customer1 \
-e APPDYNAMICS_AGENT_ACCOUNT_ACCESS_KEY=41130855-4203-471e-a836-3d241c9e8794 \
-e MACHINE_AGENT_PROPERTIES="-Dappdynamics.sim.enabled=true -Dappdynamics.docker.enabled=true" \
-v /proc:/hostroot/proc:ro -v /sys:/hostroot/sys:ro -v /etc:/hostroot/etc:ro -v /var/run/docker.sock:/var/run/docker.sock \
appdynamics/machine:4.5 Although the application is instrumented successfully, we can't view any Container. We have enabled Server and Docker Visibility and our License is also fine . What are we missing? Thanks in advance and have a nice day!
... View more
03-29-2021
04:34 AM
Great, thanks for the quick response! Is it also possible to configure the port for the Enterprise Console (which is 9191 by default)? This port can also not be accessed through our network.
... View more
03-28-2021
11:39 PM
Hey Mario, since our outgoing port for 8090 is disabled and can't be enabled due to our companies policy, is there any workaround we can do? Is there some possibility to use a loadbalancer like HAProxy or Nginx to forward the traffic to the loadbalancer's endpoint by e.g. port 443 and then forward the traffic from there to the corresponding port 8090? Maybe you've got some experience with this. Best regards, Christian
... View more
03-23-2021
08:50 AM
Hey Mario, there seems to be some policy issue from my company's network. I've tried to connect through my mobile data and it worked! Thanks you.
... View more
03-23-2021
05:20 AM
I want to set up an on-prem AppD Platform according to this tutorial: https://github.com/sherifadel90/AppDynamicsPoVReadyLab (see Steps 1-3) After unzipping and installing the Enterprise Console - 64-bit Linux(sh) on my AWS instance sudo su
./platform-setup-x64-linux-20.x.x.x.sh with inputing the below I accept the agreement: 1
Where should AppDynamics Enterprise Console be installed?: /usr/local/appdynamics/platform
Database Root User Password: AppD123
Database Port: 3377 (default)
Enterprise Console Database Password: AppD123
Enable Https Connection: n
Enterprise Console Host Name: In case of AWS, Enter the public DNS name of the lab EC2 instance
Enterprise Console Port: 9191 (default)
Enterprise Console Root User Name: admin (default)
Enterprise Console Root User Password: AppD123 I get the message that the installation succeeded. Setup has finished installing AppDynamics Enterprise Console on your computer.
To install and manage your AppDynamics Platform, use the Enterprise Console
CLI from /usr/local/appdynamics/platform/platform-admin/bin directory.
Finishing installation ... When calling my Enterprise Console through my web browser via ec2-52-59-205-162.eu-central-1.compute.amazonaws.com:9191 I get no response, although my service is running on port 9191 Does anyone have any idea how to get the Enterprise Controller properly started? All inbound ports on my AWS instance are open. So that's not an issue. Thank you so much! I am running a m5.xlarge instace with 4 CPUs, 16 GB RAM and 100 GB storage. Os: Ubuntu 18.04. Openjdk version: 1.8.0_282
... View more
Latest Activity
- Kudoed Re: No Container Visibility in AppDynamics for Jeanie.Kedia. 04-12-2021 10:56 PM
- Got a Kudo for Re: No Container Visibility in AppDynamics. 04-12-2021 01:06 PM
- Got a Kudo for Re: No Container Visibility in AppDynamics. 04-12-2021 11:33 AM
- Got a Kudo for Re: No Container Visibility in AppDynamics. 04-08-2021 09:35 AM
- Posted Re: No Container Visibility in AppDynamics on Controller (SaaS, On Premise). 04-08-2021 07:13 AM
- Posted Re: No Container Visibility in AppDynamics on Controller (SaaS, On Premise). 04-08-2021 05:17 AM
- Posted No Container Visibility in AppDynamics on Controller (SaaS, On Premise). 04-07-2021 07:59 AM
- Tagged No Container Visibility in AppDynamics on Controller (SaaS, On Premise). 04-07-2021 07:59 AM
- Tagged No Container Visibility in AppDynamics on Controller (SaaS, On Premise). 04-07-2021 07:59 AM
- Tagged No Container Visibility in AppDynamics on Controller (SaaS, On Premise). 04-07-2021 07:59 AM
- Tagged No Container Visibility in AppDynamics on Controller (SaaS, On Premise). 04-07-2021 07:59 AM
- Kudoed Re: AppDynamics Platform Installation on AWS EC2 Instance for Mario.Morelli. 03-30-2021 02:10 AM
- Posted Re: AppDynamics Platform Installation on AWS EC2 Instance on Controller (SaaS, On Premise). 03-29-2021 04:34 AM
- Kudoed Re: AppDynamics Platform Installation on AWS EC2 Instance for Mario.Morelli. 03-29-2021 04:34 AM
- Posted Re: AppDynamics Platform Installation on AWS EC2 Instance on Controller (SaaS, On Premise). 03-28-2021 11:39 PM
- Posted Re: AppDynamics Platform Installation on AWS EC2 Instance on Controller (SaaS, On Premise). 03-23-2021 08:50 AM
- Kudoed Re: AppDynamics Platform Installation on AWS EC2 Instance for Mario.Morelli. 03-23-2021 08:47 AM
- Posted AppDynamics Platform Installation on AWS EC2 Instance on Controller (SaaS, On Premise). 03-23-2021 05:20 AM
- Tagged AppDynamics Platform Installation on AWS EC2 Instance on Controller (SaaS, On Premise). 03-23-2021 05:20 AM
- Tagged AppDynamics Platform Installation on AWS EC2 Instance on Controller (SaaS, On Premise). 03-23-2021 05:20 AM
Community Stats
Date Registered | 02-23-2021 01:06 AM |
Date Last Visited | 04-14-2021 07:01 AM |
Total Messages Posted | 7 |
Total Kudos Received | 3 |