Dynatrace Agent is not connecting

When I try to add the application server, and after adding the jvm options for agent, it keeps on waiting for it to connect but can't. The server and app are on the same machine and I'm only selecting Java as my Application Server. Everything is running, port 9998 is also open. Is there an obvious thing I'm missing? Any help would be appreciated.

you can also open the Agent OVerview DAshlet and send us a screenshot from that. I assume you simply connected too many agents at once - therefore exceeding the limit of available licenses that are part of the free trial

Exactly. According to logs, it is related to license, if all above correct.

Answer by
NoorUllah R.·
Dec 15, 2016 at 11:25 PM

My question is, how is the dynatrace agent created. Is it created when we give restart the application?
Because the above log files were created when I ran the init script I belive. When I restart the app, I see no new log files that are created which means there is no agent that the client can connect to, right?

An agent gets connected if you start an application that loads our agent, e.g: if you start a JVM that has the -agentpath command line parameter it means that the agent gets loaded and it will connect to the dynatrace server

When you launch your application - are you just launching a single JVM? Or do you launch several JVMs? MAybe more than 5 which is the maximum limit?

Did you by chance run the host agent init.d script? If you are instrumenting java, there is nothing to start other than the java application/app server. Simply adding the agentpath vm argument and restarting the affected process is all you need to do. The host agent is another matter, and I don't think you need it. I base this on your log file names (dt-host appears in the names). As to why there are two logs, one is the bootstrapper and the other one is the "real" log.

Can you see the agentpath when you use "ps -ef | grep java" or similar command to see the actual command line? Does the user the java process runs under have rights to read the agent and write to the logs directory?

2.Then i want to configure system profile.I started by configure webser tier in our case IIS 7.5 .

Then i followed all those steps but agents did not connect .

we have 2 webserver remote with multiple application which need to be monitor.So i restarted the webserver agent in both server.Also i tried to close the webserver agent in DYnatrace server .But that also not worked.

Are you using the Dynatrace AppMon Trial? In that case - feel free to respond to the trial emails you receive. we can than also take this via the official free trial email support chain and can update this community page with our solution

We were using Dynatrace 6.2 in via-west and now we have installed Dynatrace version 6.5 in cloud (Armor). So we asked license team to provide temp license for 1 month so we can verfiy our configuration and then permanetly go for that.

We have installed dynatrace(full msi pakage)and activated the license but the webserver are in remote machine 2 web server having mutiple application which need to track..

Welcome to the Dynatrace Community Forums

Community Member of the Month March 2019

Announcing Dynatrace's Community Member of the Month for March 2019, Igor M.! Click here to read more!

Employee Member of the Month March 2019

Announcing Dynatrace's Employee Member of the Month for March 2019, Mike L.! Click here to read more!

Live webinar: Mastering Cloud Foundry with Dynatrace – Episode 2

Learn commonly seen use cases such as understanding how Auctioneers are handling application and task placements on Diego cells.See the latest enhancements focusing on Gorouter and Auctioneer platform component metrics. Wednesday, March 27, 2019 Register today!

Live webinar: Mastering Cloud Foundry with Dynatrace – Episode 2

Learn commonly seen use cases such as understanding how Auctioneers are handling application and task placements on Diego cells.See the latest enhancements focusing on Gorouter and Auctioneer platform component metrics. Wednesday, March 27, 2019 Register today!

NAM 2018 Service Pack 3 is available

Check the improvements we have made in reporting, fixes in alerting, and extended rcon SNC diagnostic.See all changes in SP3

Live webinar: Mastering Cloud Foundry with Dynatrace – Episode 2

Learn commonly seen use cases such as understanding how Auctioneers are handling application and task placements on Diego cells.See the latest enhancements focusing on Gorouter and Auctioneer platform component metrics. Wednesday, March 27, 2019 Register today!