• 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 subhashini v. · Mar 24, 2015 at 03:25 PM ·

Instrumenting Standalone Windows Service

Hi,

 

I am trying to attach dynatrace agent to a standalone .exe on Windows 7 box that runs as a windows service. I opened the dynatrace agent configuration tool for .NET and saw the process listed and chose that to configure the agent. Those steps were successful but the service doesn't start after that. There are no errors seen in application logs. How do I debug what's going on?

 

Thanks,

Subha

 

 

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.

6 Replies

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

Answer by Andreas G. · Mar 25, 2015 at 12:01 AM

Is there any error indication in the windows event log?

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 subhashini v. · Mar 24, 2015 at 08:18 PM

Note that the process is not coming up after this

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 subhashini v. · Mar 24, 2015 at 08:17 PM

There is also a bootstrap log:

 

2015-03-24 06:03:52 [00000154] info    [native] dynaTrace Bootstrap Agent 6.0.0.6738
2015-03-24 06:03:52 [00000154] info    [native] Using C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0 as Agent storage
2015-03-24 06:03:52 [00000154] info    [native] Log file at C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/log/dt_RateLoader_WindowsService_bootstrap_3632.0.log
2015-03-24 06:03:52 [00000154] info    [native] Trying to connect to Server/Collector for up to 20 seconds
2015-03-24 06:03:53 [00000154] info    [native] Connected to Server/Collector scpfldts01.scpf.rden.us:9998
2015-03-24 06:03:54 [00000154] info    [native] Server/Collector requests us to use Agent 6.0.0.6738 with a hash of 20780a357e23b992d30a0738a7d61fac
2015-03-24 06:03:54 [00000154] info    [native] Requesting Agent library from Server
2015-03-24 06:04:12 [00000154] info    [native] Loading Agent C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/agent/downloads/6.0.0.6738/native/windows-x86-32/dtagentcore.dll

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 subhashini v. · Mar 24, 2015 at 08:15 PM


I see this agent log after the process restart:

 

2015-03-24 06:04:12 [00000230] info    [native] -----------------------------------------------------------------------------------------
2015-03-24 06:04:12 [00000230] info    [native] dynaTrace Agent for .NET Copyright (c) 2004-2014 Compuware Corporation, www.compuware.com
2015-03-24 06:04:12 [00000230] info    [native] -----------------------------------------------------------------------------------------
2015-03-24 06:04:12 [00000230] info    [native] Version ..................... 6.0.0.6738, build date Aug  1 2014 15:51:47
2015-03-24 06:04:12 [00000230] info    [native] Command line is "C:\inetpub\wwwroot\RateLoaderService\DG.RateLoader.WinService.exe"
2015-03-24 06:04:12 [00000230] info    [native] Build platform .............. Windows x86 32-bit
2015-03-24 06:04:12 [00000230] info    [native] Platform .................... Windows Server 2008 R2 Service Pack 1 6.1.7601 x64
2015-03-24 06:04:12 [00000230] info    [native] OS edition .................. Standard
2015-03-24 06:04:12 [00000230] info    [native] OS productId ................ Unknown
2015-03-24 06:04:12 [00000230] info    [native] Hyper-V friendly name ....... Unknown
2015-03-24 06:04:12 [00000230] info    [native] Bootstrap version ........... 6.0.0.6738
2015-03-24 06:04:12 [00000230] info    [native] Log level console ........... info
2015-03-24 06:04:12 [00000230] info    [native] Log level file .............. info
2015-03-24 06:04:12 [00000230] info    [native] Log file .................... C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/log/dt_RateLoader_WindowsService_3632.0.log
2015-03-24 06:04:12 [00000230] info    [native] Agent host .................. GGABLRSRDEVDAT1
2015-03-24 06:04:12 [00000230] info    [native] Agent library ............... C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/agent/downloads/6.0.0.6738/native/windows-x86-32/dtagentcore.dll
2015-03-24 06:04:12 [00000230] info    [native] CLR version: v4.0.30319
2015-03-24 06:04:12 [00000230] info    [native] Initializing CLR ...
2015-03-24 06:04:12 [00000230] info    [native] Intel CPU 0x06 0x2d detected.
2015-03-24 06:04:12 [00000230] info    [native] ProcNum=0 MaxMhz=1800 CurrentMhz=1800 MhzLimit=1800 MaxIdleState=2 CurrentIdleState=2 hasInvariantTSC=true
2015-03-24 06:04:12 [00000230] info    [native] ProcNum=1 MaxMhz=1799 CurrentMhz=1799 MhzLimit=1799 MaxIdleState=2 CurrentIdleState=2 hasInvariantTSC=true
2015-03-24 06:04:12 [00000230] info    [native] Processors have different CPU frequencies (1799 vs. 1800). To ensure accurate timing, the hardware timer has been disabled.
2015-03-24 06:04:12 [00000230] info    [native] High-resolution Windows timer detected.
2015-03-24 06:04:12 [00000230] info    [native] Agent name .................. RateLoader_WindowsService
2015-03-24 06:04:12 [00000230] info    [native] Server/Collector ............ scpfldts01.scpf.rden.us:9998
2015-03-24 06:04:13 [00000230] info    [native] Reading LoadBalancing configuration from scpfldts01.scpf.rden.us:9998
2015-03-24 06:04:13 [00000230] info    [native] Storing collector peer list (0 entries) to C:/Program Files (x86)/dynaTrace/dynaTrace Agent 6.0.0/agent/conf/collectorlist.RateLoader_WindowsService
2015-03-24 06:04:13 [00000230] info    [native] Trying to connect to Server/Collector for up to 19 seconds
2015-03-24 06:04:16 [00000230] info    [native] Instrumentation channel connected successfully
2015-03-24 06:04:16 [00000230] info    [native] Connected to Server/Collector scpfldts01.scpf.rden.us:9998
2015-03-24 06:04:16 [00000230] warning [native] GC Events not available.
2015-03-24 06:04:17 [000002a4] info    [native] Control channel connected successfully

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 subhashini v. · Mar 24, 2015 at 07:58 PM

no I don't see any agent log file

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 Roman S. · Mar 24, 2015 at 05:41 PM

Hi Subha,

Do you get any log file from the agent when you try to start your Windows service after configuring it? They should be in C:\Program Files\dynaTrace\dynaTrace 6.1.0\log

Best, Roman

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.

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

2 People are following this question.

avatar image avatar image

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