Last active
June 4, 2019 13:04
-
-
Save empeje/c8b31d2d1a98525c95cd7576bfa28d67 to your computer and use it in GitHub Desktop.
Install DataDog Agent as per December 2017
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo sh -c "echo 'deb http://apt.datadoghq.com/ unstable main' > /etc/apt/sources.list.d/datadog.list" | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C7A7DA52 | |
sudo apt-get install datadog-agent | |
sudo sh -c "sed 's/api_key:.*/api_key: your_api_key' /etc/dd-agent/datadog.conf.example > /etc/dd-agent/datadog.conf" | |
/etc/init.d/datadog-agent start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment