Created
June 10, 2015 09:01
-
-
Save lennartvdd/04e072dd35a30bbe5aab to your computer and use it in GitHub Desktop.
Install NewRelic Server
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/sh | |
| echo "This script will install NewRelic Server Monitoring" | |
| read -p "License Key:" NEWRELIC_LICENSE_KEY | |
| 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 install newrelic-sysmond | |
| nrsysmond-config --set license_key=$NEWRELIC_LICENSE_KEY | |
| echo "Start newrelic with 'service newrelic-sysmond start'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment