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

    • 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 ...
    • Installation of Linux On-Premise Poller using the console

      Copy, paste, and execute the following commands in your terminal to install the On-Premise Poller 64 bit OS: sudo wget http://staticdownloads.site24x7.com/probe/Site24x7OnPremisePoller_64bit.bin sudo chmod 755 Site24x7OnPremisePoller_64bit.bin sudo ...
    • Bulk installation methods for Linux agent

      You can install the Linux monitoring agent in multiple machines in one go using any of the below bulk deployment methods: Chef Puppet SaltStack Ansible Remote Installation using SSH Using DigitalOcean Using Google Cloud Platform (GCP)  Install the ...
    • How to retrieve logs from server-agent-based monitors?

      If you have a Windows agent, you can use the following path to retrieve the agent logs: Go to the installation directory > Site24x7 > WinAgent > Monitoring > Logs If you have a Linux server, you can retrieve logs for your server agent by using the ...
    • Set proxy for Linux On-Premise Poller during installation

      There are 3 ways through which you can configure a proxy in an On-Premise Poller for a Linux server. During installation using the Installation Wizard Using the console During the silent installation of the On-Premise Poller Linux agent 1. During ...