Command line installation | .NET Agent

Install .NET agent via command line

Follow the instructions given below to install APM Insight .NET agent via command line:

  1. Login to your Site24x7 account > APM > APM Insight
  2. Click on .NET tab and download APM Insight .NET agent (apminsight-dotnetagent.msi)
  3. Navigate to the path where you have downloaded the msi file and execute the following command:
msiexec -i apminsight-dotnetagent.msi license.key=<YOUR LICENSE KEY>  editconfig=false  iisreset=false  /log apm_install.log /quiet

Command line arguments:
    • editconfig  - Agent will open edit configuration window by default. Set this to false to install the agent without opening the edit configuration window.
    • iisreset  - Agent resets IIS by default. Set this to false to install without resetting IIS.  Note:  Agent can monitor the applications only after running the iisreset. 
Note: Perform some transactions to start monitoring.

    • Related Articles

    • How to install .NET agent with Chocolatey ?

      Chocolatey is a package manager for Windows (like apt-get or yum, but for Windows). It is built on the NuGet infrastructure and uses PowerShell for delivering packages from the distros to target machines directly. You can now install and manage ...
    • How to manually install the AppLogs agent

      The AppLogs agent is used to automatically discover and upload your server and application logs to Site24x7. Site24x7's AppLogs agent works with an existing Site24x7 server monitoring agent and comes with AppLogs installed. You can also manually ...
    • Troubleshooting steps when there is an exception while monitoring ASP .NET applications.

      Use Case: Sometimes, you may receive the exception "Loading this assembly would produce a different grant set from other instances.", while running the APM Insight .NET agent in your ASP .NET applications. This is because, by design, the agent works ...
    • Methods to upgrade .NET agent

      Since version 2.0, .NET agent has the capability to manage updates automatically without user intervention. Also, the MSI based installer has the capability to overwrite any existing installations while retaining the settings. There are three methods ...
    • How do I disable the AppLogs agent (process/service)?

      When you disable the AppLogs agent, log collection on that server will stop and the AppLogs Agent service/process will not run in your server. To disable the AppLogs agent: Navigate to the Server tab. Click on the server monitor in which the agent ...