- Ruby (>= 1.8.7)
- Rubygems (>= 1.3.7)
- Bundler
gem install bundler
- Logging must be enabled on the load balancer nodes.
The Rackspace plugin can be installed manually or automatically with Chef and Puppet. For Chef and Puppet support see the New Relic plugin's Chef Cookbook and Puppet Module.
Additional information on using Chef and Puppet with New Relic is available in New Relic's documentation.
- Download the latest tagged version from HERE
- Extract to the location you want to run the plugin from
- Rename
config/template_newrelic_plugin.yml
toconfig/newrelic_plugin.yml
- Edit
config/newrelic_plugin.yml
(See configuration information section for additional information) - Run
bundle install
- Run
bundle exec ./bin/newrelic_rs
- Replace 'LICENSE KEY' with your New Relic license key
- Replace 'USERNAME' with your Rackspace username
- Replace 'KEY' with your Rackspace API key. This can be found under API Keys in your Rackspace account settings.
- Replace 'REGION' with the region your load balancer is located. This should be
ord
,dfw
orlon
. ( Note: This is case sensitive)
###Special Instructions for use with multiple regions If your load balancers are in multiple regions, copy all files to a secondary directory and modify the configuration files to reflect the secondary region. You will need to run the agent twice, once for each region.
To start the agent run: bundle exec ./bin/newrelic_rs
You can use services like these to manage this process.
Plugin support and troubleshooting assistance can be obtained by visiting support.newrelic.com
The New Relic Rackspace Load Balancers plugin was originally authored by Sean Porter and the team at Heavy Water Operations. Subsequent updates and support are provided by New Relic.
You are welcome to send pull requests to us - however, by doing so you agree that you are granting New Relic a non-exclusive, non-revokable, no-cost license to use the code, algorithms, patents, and ideas in that code in our products if we so choose. You also agree the code is provided as-is and you provide no warranties as to its fitness or correctness for any purpose.