Help Docs

Installing the .NET agent via the command line

If you’d like to monitor a Windows Core environment or similar environments, you may find it easiest to install the .NET agent via the command line.   

Installation instructions:

    1. Log in to your Site24x7 account, select the APM tab, and choose APM Insight.
    2. Navigate to the .NET tab and follow the instructions to download the agent.

    3. Open the command prompt and navigate to the path where the MSI file is downloaded.
    4. Execute the command below to install the agent. Copy the license key from the Site24x7 portal and include it in value, license.key=<YOUR_LICENSE_KEY> .
      msiexec -i apminsight-dotnetagent.msi license.key=<YOUR_LICENSE_KEY> editconfig=false iisreset=false /log apm_install.log /quiet

      Command arguments:

      • editconfig: The agent will open the edit configuration window by default. Set this to false to install the agent without opening the edit configuration window.
      • iisreset: The agent will reset IIS by default. Set this to false to install the agent without resetting IIS.

Note: The agent can only monitor applications after IIS is reset.

  1. Perform transactions to start monitoring.

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.

We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.

Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!