• Forums
    • Public Forums
      • Community Connect
      • Dynatrace
        • Dynatrace Open Q&A
      • Application Monitoring & UEM
        • AppMon & UEM Open Q&A
      • Network Application Monitoring
        • NAM Open Q&A
  • Home /
  • Public Forums /
  • Application Monitoring & UEM /
  • AppMon & UEM Open Q&A /
avatar image
Question by Denis N. · Apr 02, 2013 at 10:51 AM · configuration agent

Moving agent configuration file to different location

Hi all,

we try to surveil a .NET process of an application on a Windows Terminal Server. Unfortunately every release change of this application will cause a change of installation directory. Due to this fact, we have to change the .NET-Agent configuration everytime, which isn't this easy because our unit doesn't have access to the server.

Is it possible to have the agent configuration file somewhere else then the default? Also is it possible to shut down and start again the agent remotely (e.g. by dT-Client)?

Comment

People who like this

0 Show 0
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

3 Replies

  • Sort: 
  • Most voted
  • Newest
  • Oldest
avatar image

Answer by Denis N. · Apr 02, 2013 at 01:33 PM

I just spoke with development and setting the path to <any> is not desired. On this server several  versions of this application are running and it's supposed to monitor only one at a time. Any other suggestions like moving the config to another location on the server where we have write rights?

Comment

People who like this

0 Show 2 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Roman S. · Apr 02, 2013 at 01:36 PM 0
Share

The settings are stored in the Windows registry, when a new release installed would a small .reg file to be executed work?

The way I worked around this at another customer, which had a similar issue, is to add one more step to their deployment runbook - adjusting the .reg file to the right path and the putting it into the registry.

Best, Roman

avatar image Christian S. · Apr 02, 2013 at 06:07 PM 0
Share

hi Denis,

i'm just wondering: if there are multiple versions of the same application running at the same time with the same binary name, how do you know, which one you want to monitor?

besides Roman's suggestion there's 2 things that come to my mind:

  • if you can modify the applications environment: you could set the env var DT_AGENTACTIVE=true for this process.
  • if you can modify the applications command line: you could add a dummy command line parameter that you specify in the agent configuration tool, too. of course, path would have to be set to 'any' then.

those configuration options are also (slightly) mentioned in the doc: https://apmcommunity.compuware.com/community/display/DOCDT50/.NET+Agent+Configuration

hope this helps,
Christian

avatar image

Answer by Christoph N. · Apr 02, 2013 at 01:18 PM

Hi Denis,

the agent lives inside the application process. You cannot restart the agent itself. Instead, if you restart your application, the agent also gets restarted.

Thus, if you deploy a new release of your application and start it, the agent automatically gets injected if the process is configured properly (when path is set to "<any>" in your case).

Comment

People who like this

0 Show 0 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image

Answer by Wolfgang G. · Apr 02, 2013 at 11:30 AM

You could change the Path setting of the .NET Agent to "<any>", which will then pick up all processes with a given name regardless of their working directory.

Unfortunately, remotely restarting agents is not possible.

Comment

People who like this

0 Show 1 · Share
10 |2000000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Toggle Comment visibility. Current Visibility: Viewable by all users

Up to 10 attachments (including images) can be used with a maximum of 50.0 MiB each and 250.0 MiB total.

avatar image Denis N. · Apr 02, 2013 at 12:22 PM 0
Share

Hi Wolfgang,

that's great news! So if we have a new release, the process will be recognized automatically without  restart of the agent?

Thanks!

How to get started

First steps in the forum
Read Community User Guide
Best practices of using forum

NAM 2019 SP5 is available


Check the RHEL support added in the latest NAM service pack.

Learn more

LIVE WEBINAR

"Performance Clinic - Monitoring as a Self Service with Dynatrace"


JANUARY 15, 3:00 PM GMT / 10:00 AM ET

Register here

Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

HI team, Docker Concept with APPMON setup??

Window .Net Service not responding after activate .net agent

Is it possible to add a Dynatrage agent to several system profiles?

Application not Loading after Enabling AppMon Browser Agent Addon in IE 11

Agent Connectivity Issue JMX

Forum Tags

dotnet mobile monitoring load iis 6.5 kubernetes mainframe rest api dashboard framework 7.0 appmon 7 health monitoring adk log monitoring services auto-detection uem webserver test automation license web performance monitoring ios nam probe collector migration mq web services knowledge sharing reports window java hybris javascript appmon sensors good to know extensions search 6.3+ server documentation easytravel web dashboard kibana system profile purelytics docker splunk 6.1 process groups account 7.2 rest dynatrace saas spa guardian appmon administration production user actions postgresql upgrade oneagent measures security Dynatrace Managed transactionflow technologies diagnostics user session monitoring unique users continuous delivery sharing configuration alerting NGINX splitting business transaction client 6.3 installation database scheduler apache mobileapp RUM php dashlet azure purepath agent 7.1 appmonsaas messagebroker nodejs 6.2 android sensor performance warehouse
  • Forums
  • Public Forums
    • Community Connect
    • Dynatrace
      • Dynatrace Open Q&A
    • Application Monitoring & UEM
      • AppMon & UEM Open Q&A
    • Network Application Monitoring
      • NAM Open Q&A