The following steps will guide you through installing the APM Insight .NET agent on a Linux system using Applications Manager.
The Applications Manager Data Exporter is required for .NET Core Linux Agent monitoring. Ensure the Data Exporter is installed and running before proceeding with the agent setup.
wget -O InstallNetCoreAgent.zip https://www.manageengine.com/products/applications_manager/54974026/InstallNetCoreAgent.zip && unzip InstallNetCoreAgent.zip
sudo -E ./InstallNetCoreAgent.sh -LicenseKey [LICENSE KEY] -ExporterHost [DataExporter Host] -ExporterStatusPort [DataExporter Status Port] -ExporterDataPort [DataExporter Data Port][DataExporter Host] - Data Exporter Host Name[DataExporter Status Port] - Data Exporter Status Port[DataExporter Data Port] - Data Exporter Data Port[LICENSE KEY] - Applications Manager license keyrun-dotnetapm.sh script to start your application. For example,$APMINSIGHT_SCRIPTS_PATH/run-dotnetapm.sh dotnet <Your_Application>.dll<Your_Application>.dll with your actual application DLL name. Optionally, set the APMINSIGHT_APP_NAME environment variable to define your application’s display name in Applications Manager.source $APMINSIGHT_SCRIPTS_PATH/set-shell-env.shecho 'source $APMINSIGHT_SCRIPTS_PATH/set-shell-env.sh' >> ~/.bashrcAPMINSIGHT_APP_NAME environment variable to define your application’s display name in Applications Manager.CORECLR_ENABLE_PROFILING=1
CORECLR_PROFILER="{9D363A5F-ED5F-4AAC-B456-75AFFA6AA0C8}"
DOTNETCOREAGENT_HOME="/opt/manageengine/ManageEngineDotNetCoreAgent"
CORECLR_PROFILER_PATH_64="/opt/manageengine/ManageEngineDotNetCoreAgent/x64/libClrProfilerAgent.so"
CORECLR_PROFILER_PATH_32="/opt/manageengine/ManageEngineDotNetCoreAgent/x86/libClrProfilerAgent.so"
DOTNET_STARTUP_HOOKS="/opt/manageengine/ManageEngineDotNetCoreAgent/netstandard2.0/DotNetAgent.Loader.dll"
APMINSIGHT_LICENSEKEY="YOUR_LICENSE_KEY"
APMINSIGHT_APP_NAME="YOUR_APPLICATION_NAME"APMINSIGHT_LICENSEKEY as well as the APMINSIGHT_APP_NAME (optional) environment variables to connect and to define your application’s display name in Applications Manager.It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.
Reviewer Role: Research and Development