How do I verify that the agent is actually hooked onto the application process?

How do I verify that the agent is actually hooked onto the application process?

1. Ensure your application (IIS app, Windows service, desktop app) is enabled for monitoring within the "APM Insight .NET Agent Configuration" tool and your application is running & processing transactions or requests for the agent to monitor it.


2. Verify if the application process(IIS app, Windows service app, Desktop app) instrumented with agent profiler using Process Explorer:
  1. Download and unzip Process Explorer. Run the "procexp.exe" in administrator mode
  2. Locate the target application process (w3wp.exe for IIS app, <service_name>.exe for services, or the main executable for desktop apps).
  3. In the Process Properties (Right Click -> Properties), go to the Environment tab, and Confirm the presence of the COR_PROFILER variable with the value of `989D151B-3F31-482E-926F-2E95D274BD36`


3. Verify if the application process(IIS app, Windows service app, Desktop app) instrumented with agent profiler using Event Viewer:
  1. Open Event Viewer and navigate to Windows Logs > Application.
  2. Check for the event with the source .NET Runtime and verify that the `Process ID(decimal)` matches the one in Task Manager. 

4. Verify if the agent created following log files under this path - " C:\ProgramData\DotNetAgent\AgentLogs"
  1. For IIS app , ".NetAgentNative.w3wp.exe.<PID>.log" , "DotNetAgentManaged.ROOT.w3wp.<PID>-<dd-mm-yyyy>.log"
  2. For Windows service & Desktop app, ".NetAgentNative.<service_name>.exe.17348.log" , "DotNetAgentManaged.<service_name>.exe.<service_name>.<PID>-<dd-mm-yyyy>.log"
Note: This log file will be created only if the application having or performed with some transaction

If you encounter issues or still agent not instrumented, contact support@manageengine.com along with these steps screenshots and updated Agent diagnostics for further assistance

                  New to ADSelfService Plus?

                    • Related Articles

                    • How to rename an existing APM - Java agent application's monitor?

                      In Applications Manager's APM(Application Performance Monitoring) doesn't support renaming applications/monitors from the web client. However, the application name of an existing application instance can be renamed in the `apminsight.conf` file and ...
                    • How .NET agent collects data?

                      APM Insight .NET Agent is a profiling based monitoring solution. It uses the profiling APIs provided by Microsoft frameworks and hooks itself into the ASP.NET worker process. The general workflow for monitoring is as given below : The .NET agent ...
                    • How to upgrade PHP Agent

                      PHP Agent version below 3.2.2 Manual upgrade from user terminal: Whenever a new version of the agent goes live, it will be listed in the APM Insight Download page. The latest agent can also be downloaded from the Applications Manager web client, from ...
                    • How to verify the license key for a .NET application?

                      If you find that the APM Insight .NET monitor is not created in Applications Manager, it might be due to an empty or invalid license key. You can verify the license key by following the steps given below. Note: Before you proceed, ensure that the APM ...
                    • Agent Installed But Not Reflected

                      For troubleshooting the NodeJs Agent Please find the Steps Below For establishing connection between  Applications Manager and NodeJs Agent Only HTTPS Port of the Applications Manager Should be used For NodeJs Agent Version on or above 2.0 ...