Last active
April 12, 2017 00:51
-
-
Save khash/8223260 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
echo deb http://apt.newrelic.com/debian/ newrelic non-free >> /etc/apt/sources.list.d/newrelic.list | |
wget -O- https://download.newrelic.com/548C16BF.gpg | sudo apt-key add - | |
apt-get update | |
apt-get install newrelic-sysmond | |
nrsysmond-config --set license_key=YOUR_LICENSE_KEY | |
/etc/init.d/newrelic-sysmond start |
This file contains hidden or 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
production: | |
first_thing: | |
- source: /.cloud66/scripts/install.sh | |
destination: /tmp/install.sh | |
target: rails | |
apply_during: build_only | |
run_on: all_servers | |
execute: true | |
sudo: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is now a snippet: https://github.com/cloud66/snippets/blob/master/cloud66/newrelic