Install Linux agent in DigitalOcean using API

Install the Linux agent in DigitalOcean Droplet using API

 -d'{
     "name": "linux-test-srm", 
     "private_networking": false,
     "region": "nyc3",
     "size": "512mb",
     "image": "ubuntu-14-04-x64",
     "user_data":"
     #cloud-config
     runcmd:
       - bash -c \"$(curl -sL https://staticdownloads.site24x7.com/server/Site24x7InstallScript.sh)\" readlink -i -key=<DEVICE_KEY_OF_SITE24X7>"
 }' \
     -H "Authorization: Bearer <API_KEY_OF_DIGITAL_OCEAN>" \
     -H "Content-Type: application/json"

Note: Replace the <DEVICE_KEY_OF_SITE24X7> and  <API_KEY_OF_DIGITAL_OCEAN> to their respective values. For knowing your device key, click here.

You can also install the agent in your DigitalOcean Droplet via the DigitalOcean user interface. Learn more.



    • Related Articles

    • API exceeded error

      Why do I get an API exceeded error after a few attempts? Every API has a certain limit to the number of requests a user can hit within a period of time, called the rate limit. An error message is triggered when a user does one of the following ...
    • Bundled .NET and .NET Core agents in a single MSI

      In APM Insight .NET agent version 6.8.0, the .NET and .NET Core agents have been bundled into a single MSI, enabling unified monitoring of both application types. Upgrade requirements for .NET Core agent 6.7 and below If you're using .NET Core agent ...
    • How to uninstall the Site24x7 Windows Server Monitoring Agent

      Method 1: To uninstall the Site24x7 Windows Server Monitoring Agent, click the link below: https://staticdownloads.site24x7.com/server/Site24x7WindowsAgentUninstall.zip Unzip and execute the Uninstall.bat file in the Command Prompt as an ...
    • Steps to partially update monitor settings in bulk using API

      Monitor details like notification profiles, threshold and availability can be changed/updated in bulk using API without affecting the existing configuration settings. Use Case: A user wants to change only the notification profile of a monitor without ...
    • How to identify and resolve conflicts between other APM products and the APM Insight .NET agent

      Problem statement: You are experiencing either of the below issues and suspect that another APM product is interfering with the Site24x7 .NET agent. 1. The .NET monitor is not created under APM > APM Insight > Applications, even after the .NET agent ...