Last active
August 29, 2015 14:07
-
-
Save robbwagoner/233af1f54ca8e2c5f5ae to your computer and use it in GitHub Desktop.
Add New Relic agent to Ubuntu host interactively
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
#!/bin/bash | |
sudo bash -c ' | |
export DEBIAN_FRONTEND=noninteractive | |
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 | apt-key add - | |
apt-get update | |
apt-get -y install newrelic-sysmond | |
nrsysmond-config --set license_key=XXXX | |
/etc/init.d/newrelic-sysmond start | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment