Capistrano-nrsysmond
Capistrano recipe for installing the newrelic sysmond service on multiple operating systems.
Installation
Add this line to your application's Gemfile:
gem 'capistrano-nrsysmond'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-nrsysmond
Prepend your config/deploy.rb with the following lines
require 'capistrano-nrsysmond'
set :newrelic_licencekey, '<< NEWRELIC LICENCE KEY >>'
Usage
$ cap newrelic:sysmond
Tested on:
- Ubuntu 10.04
- CentOS 5.9 (Final)
Credits
- Jamis Buck (Capistrano's original author)
-
Patrick Reagan for the
remote_file_exists?
method example from How can you check to see if a file exists (on the remote server) in Capistrano? - NewRelic
- Mitchell Hashimoto @mitchellh (http://tech.pro/tutorial/1226/basic-rubygem-development)
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request