Installs newrelic-sysmond, New Relic for Server Monitoring.
The following cookbooks are direct dependencies:
- apt (for Debian and Ubuntu)
- yum (for RHEL and CentOS)
The following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error:
- Debian
- Ubuntu
- Red Hat Enterprise Linux 5 & 6
- CentOS 5 & 6
newrelic-sysmond
- The default recipe.
This cookbook installs the newrelic-sysmond components if not present, and pulls updates if they are installed on the system.
default["new_relic"]["apt_uri"] = "http://apt.newrelic.com/debian/"
default["new_relic"]["apt_key"] = "548C16BF"
default["new_relic"]["keyserver"] = "keyserver.ubuntu.com"
default["new_relic"]["yum_baseurl"] = "https://yum.newrelic.com/pub/newrelic/el5/#{node["kernel"]["machine"]}"
default["new_relic"]["license_key"] = ""
default["new_relic"]["loglevel"] = "info"
default["new_relic"]["logfile"] = "/var/log/newrelic/nrsysmond.log"
default["new_relic"]["proxy"] = ""
default["new_relic"]["ssl"] = "false"
default["new_relic"]["ssl_ca_bundle"] = ""
default["new_relic"]["ssl_ca_path"] = ""
default["new_relic"]["pidfile"] = ""
default["new_relic"]["collector_host"] = "collector.newrelic.com"
default["new_relic"]["timeout"] = 30
default["new_relic"]["hostname"] = ""
default["new_relic"]["labels"] = ""
You must set the value for node["new_relic"]["license_key"]
- 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
Many thanks go to the following contributors who have helped to make this cookbook even better:
- @dwradcliffe
- add support for redhat/centos
- @fredjean
- fix default keyserver host name
- @joe1chen
- add apt dependency to metadata
- @CloCkWeRX
- initial implementation of
hostname
attribute
- initial implementation of
- @apai4
- add 64bit yum repo support
- @jhsu
- add
apt_uri
andapt_key
attributes
- add
- @jolexa
- add
yum_baseurl
attribute
- add
chef-newrelic-sysmond
- Freely distributable and licensed under the MIT license.
- Copyright (c) 2011-2014 Phil Cohen ([email protected])
- http://phlippers.net/