Configure VirSec RASP profiler and Site24x7 .NET agent on the same machine

How to configure VirSec RASP APM profiler and Site24x7 .NET agent on the same machine

You can install both the Site24x7 APM Insight .NET Agent and VirSec RASP profiler on the same machine to monitor your .NET and .NET Core applications.

Steps to configure the .NET agent with VirSec

By default, both and Site24x7 use the same environment variables, as listed in the below. Follow the steps below to resolve this conflict.

 VirSec
 Site24x7
 COR_ENABLE_PROFILING=1
 COR_ENABLE_PROFILING=1
 COR_PROFILER={8E2B38F2-7355-4C61-A54F-434B7AC266C0}
 COR_PROFILER={989D151B-3F31-482E-926F-2E95D274BD36}
 COR_PROFILER_PATH_64=C:\Program Files (x86)\Virsec\iae-dnet\bin\dotnetprofiler.dll


1. After installing both the VirSec probe and the Site24x7 .NET Agent, environment variables are created in the registry key Environment under the following paths:
  1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
  2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WAS

2. Edit the Environment key in the specified registry paths and replace them with the following key values in both paths:
  1. VSP_AdditionalProfiler_x64_Path=C:\Program Files (x86)\APM Insight\APM Insight .NET Agent\DotNetAgent\x64\ClrProfilerAgent.dll
  2. VSP_AdditionalProfiler_x86_Path=C:\Program Files (x86)\APM Insight\APM Insight .NET Agent\DotNetAgent\ClrProfilerAgent.dll
  3. VSP_AdditionalProfiler_CLSID={989D151B-3F31-482E-926F-2E95D274BD36}

3. Finally, run the IISRESET command.
4. Restart the APM Insight .NET agent service.
5. Perform some transactions.

Steps to Configure the .NET Core Agent with VirSec

1. After configuring both the Site24x7 .NET Core Agent and the VirSec RASP Profiler, you will find environment variables created in the registry key Environment under the following paths:
  1. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC
  2. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WAS

2. To properly configure the environment, edit the Environment key in the specified registry paths and add the following key values to both paths:
  1. VSP_AdditionalProfilerCore_x64_Path=<AgentInstalledPath>\Site24x7DotNetCoreAgent\x64\ClrProfilerAgent.dll
  2. VSP_AdditionalProfilerCore_x86_Path=<AgentInstalledPath>\Site24x7DotNetCoreAgent\x86\ClrProfilerAgent.dll
  3. VSP_AdditionalProfilerCore_CLSID={9D363A5F-ED5F-4AAC-B456-75AFFA6AA0C8}

3. After making these changes, run the IISRESET command and begin performing transactions.

    • Related Articles

    • APM Insight integration for Next.js in Kubernetes

      To integrate the Site24x7 APM Insight Next.js agent into your Kubernetes application using initContainers with the prebuilt agent image, follow the steps below: Prerequisites A Next.js application container image The Site24x7 APM Insight license key ...
    • How do I monitor an Oracle database hosted in a Docker container in the same machine?

      To monitor your Oracle Database hosted in a Docker container, follow these steps: Log in to Site24x7 and install the Site24x7 Linux monitoring agent. Execute the following command in your terminal and enter your Oracle Database instance's username ...
    • How to configure the NGINX status page for monitoring NGINX performance

      The NGINX plugin uses the NGINX status page to pull the performance metrics of the NGINX server. You may encounter the following errors while installing the NGINX plugin integration: Error_code : HTTP Error 404: This error usually indicates that the ...
    • Troubleshoot the Error 404 and Error 99 for RabbitMQ

      When installing the RabbitMQ plugin, you may encounter the following errors: HTTP Error 404: Not Found: This error usually occurs when Site24x7's RabbitMQ monitoring plugin attempts to access the /api/overview page of RabbitMQ, but the resource ...
    • Exclude Site24x7 monitoring traffic from Google Analytics

      You can exclude traffic from the Site24x7 Web Transaction (Browser) monitor and Webpage Speed (Browser) traffic from Google Analytics in two ways. To exclude traffic for the Web Defacement monitor, you can follow the first method. 1. Creating a ...