Site24x7
            Knowledge Base Site24x7 Knowledge Base Server Monitoring Linux Server Monitoring

            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.



            Updated: 11 Feb 2019 04:00 PM
            Helpful?  
            Help us to make this article better
            0 0