cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Issue while setting up a dynatrace agent

madhav_chaudhar
Newcomer

Hi,

I am trying to install Dynatrace agent on Apache Tomcat 7.

I am following below procedure:

  • Installed 'dynatrace-agent-4.2.0.3154-unix.jar'  on 64 bit linux machine.
  • Now I am restarting my Tomcat with below command:

sh <Tomcat_Home>/bin/startup.sh -agentpath:/<DHD>/agent/lib64/libdtagent.so=name=<NameOfMonitor>,server=<Host>:<Port>

Now I go to Dynatrace Client, and I dont see corresponding agent entry in UI.

I tried to check dynatrace logs to see if any issues, but no logs are generated.

 

Am i missing something? Is there any entry has to be made at Dynatrace Server/Host side?

Thanks,

Madhav

1 REPLY 1

roman_spitzbart
Dynatrace Pro
Dynatrace Pro

Hi Madhav,

The argument for the agent is required for the JVM, not the Tomcat startup script. Check here for details on what to modify and where

There is a nice quick start guide for you to follow that walks you through the steps required to get dynaTrace working in your application. It is part of our documentation - Quickstart Guide#ConnectYourApplicationtodynaTrace

Best, Roman