How to Install .NET agent via command line

How to Install .NET agent via command line

Follow the instructions given below to install APM Insight .Net agent via command line:
  1. Download APM Insight .NET agent (apminsight-dotnetagent.msi)  here.
  2. 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

For version 7.0.2 and above:

Info
msiexec -i apminsight-dotnetagent.msi license.key=<Your_License_Key> apm.host=<https/http>://<APM_HOST>:<APM_PORT> apm_exporter_host=<DATA_EXPORTER_HOST> apm_exporter_status_port=<DATA_EXPORTER_STATUS_PORT> apm_exporter_data_port=<DATA_EXPORTER_DATA_PORT> editconfig=false iisreset=true /log apm_install.log /quiet

Given configurations are optional:

  • apm_exporter_host
    By default, 
    DATA_EXPORTER_HOST=localhost
  • apm_exporter_status_port
    By default, 
    DATA_EXPORTER_STATUS_PORT=20021
  • apm_exporter_data_port
    By default, 
    DATA_EXPORTER_DATA_PORT=20022

For version 6.7.1 to v6.9.2:
Info
msiexec -i apminsight-dotnetagent.msi license.key=<Your_License_Key> apm.host=<https/http>://<APM_HOST>:<APM_PORT> editconfig=false iisreset=true /log apm_install.log /quiet

For version 6.5.1 to 6.7.0:
Info
msiexec -i apminsight-dotnetagent.msi license.key=<Your_License_Key> apm.host=<APM_HOST> apm.port=<APM_PORT> apm.protocol.https=True editconfig=false iisreset=true /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.

NotesNote: Perform some transaction to start monitoring



                    New to ADSelfService Plus?

                      • Related Articles

                      • APMInsight - NET Agent Onboarding - KB

                        This document provides a step-by-step guide to onboard and troubleshoot the APM Insight .NET Agent. It includes environment verification, permission checks, network connectivity validation, and solutions for common installation and configuration ...
                      • APMInsight - .NET Agent Data Collection - KB

                        Overview ๐Ÿ“Œ Note: For any onboarding or agent installation-related issues, please refer to the APM Insight .NET Agent Onboarding KB. This document provides a step-by-step guide to troubleshoot the data collection issue with the APM Insight .NET ...
                      • How to Install .NET agent on AWS Elastic Beanstalk?

                        One of the two options listed below can be used to install APM Insight agent onto a .NET web application hosted in Elastic Beanstalk environment via ebextensions. Deployment through AWS kit for Visual Studio. Deployment via uploading packages to AWS ...
                      • Log Monitoring - via FSO Agent

                        Applications Manager ยท AppLogs Centralized log monitoring through the FSO Agent Collect, parse, index and search application and server logs from one page, alongside metrics and traces. 60+ predefined log types FSO Agent log collector 7โ€“90 days ...
                      • How to add an APM Insight Python agent in Kubernetes via InitContainers?

                        Adding the APM Insight Python agent via init containers in Kubernetes enables the seamless integration of performance monitoring for Python applications, ensuring efficient tracking and analysis of application behavior within the Kubernetes ...