Help Docs

Installing .NET agent in Linux

The following are the steps to install the .NET agent in the Linux operating system.

Installation steps

  1. Log in to your Site24x7 web client.
  2. Navigate to APM > APM Insight.
  3. Click on the .NET tab.
  4. Switch to the Linux option and follow the instructions to download the agent.
  5. Execute the installation scripts below for S247DataExporter in your terminal. Ensure that you replace YOUR_LICENSE_KEY in the command with your valid Site24x7 license key before executing the script.
wget -O InstallDataExporter.sh 
https://staticdownloads.site24x7.in/apminsight/S247DataExporter/linux/InstallDataExporter.sh
sudo -E sh InstallDataExporter.sh -license.key YOUR_LICENSE_KEY
Note

S247DataExporter acts as a data receiver and exporter, relaying performance metrics collected by the agent to Site24x7.

Advanced configurations

The following advanced configuration options apply only to S247DataExporter. This configuration is optional. You can modify these settings during installation if you need to change the port or proxy settings.

Field number (as marked in the image) Field name Default value Description
1 IPC Status Port 20021 This port is used to expose the exporter’s status information.
2 IPC Data Port 20022 This port is used for transmitting monitoring data.
3 Enable Proxy No Enables proxy support for outbound communication.
4 Install as non-root Specifies the user account under which S247DataExporter runs. By default, it is installed as a non-root user for improved security and least-privilege access.
5 Service Registration Yes Registers S247DataExporter as a system service, allowing it to start automatically on system boot and be managed using standard service management commands.
  1. Run the following commands in your terminal to install the .NET agent. Make sure to replace YOUR_LICENSE_KEY with your actual Site24x7 license key before executing the script.
wget -O InstallNetCoreAgent.sh
https://staticdownloads.site24x7.com/apminsight/agents/dotnet/apminsight-dotnetcoreagent-linux.sh
sudo -E bash InstallNetCoreAgent.sh -Destination /opt/site24x7 -LicenseKey "YOUR_LICENSE_KEY"

Instead of copying and pasting the code (Steps 5 and 6), you can click Download as Shell Script to download the script and install directly.

  1. Once the installation is complete, restart your application processes.
  2. Perform some transactions in your application.The metrics will then be reflected in the Site24x7 console.

Related articles

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!