Installs newrelic-sysmond, New Relic for Server Monitoring.
This cookbook requires Chef >= 11.13 due to the use of the sensitive
attribute for some resources.
The following cookbooks are direct dependencies:
The following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error:
- Debian
- Ubuntu
- Red Hat Enterprise Linux 6
- CentOS 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["newrelic-sysmond"]["package_action"] = "install" # or `upgrade`
default["newrelic-sysmond"]["apt_uri"] = "http://apt.newrelic.com/debian/"
default["newrelic-sysmond"]["apt_key"] = "548C16BF"
default["newrelic-sysmond"]["keyserver"] = "hkp://keyserver.ubuntu.com:80"
default["newrelic-sysmond"]["yum_baseurl"] = "https://yum.newrelic.com/pub/newrelic/el5/#{node["kernel"]["machine"]}"
default["newrelic-sysmond"]["license_key"] = ""
default["newrelic-sysmond"]["loglevel"] = "info"
default["newrelic-sysmond"]["logfile"] = "/var/log/newrelic/nrsysmond.log"
default["newrelic-sysmond"]["proxy"] = ""
default["newrelic-sysmond"]["ssl"] = "true"
default["newrelic-sysmond"]["ssl_ca_bundle"] = ""
default["newrelic-sysmond"]["ssl_ca_path"] = ""
default["newrelic-sysmond"]["pidfile"] = "/var/run/newrelic/nrsysmond.pid"
default["newrelic-sysmond"]["collector_host"] = "collector.newrelic.com"
default["newrelic-sysmond"]["timeout"] = 30
default["newrelic-sysmond"]["hostname"] = ""
default["newrelic-sysmond"]["labels"] = ""
You must set the value for node["newrelic-sysmond"]["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 (github@phlippers.net)
- http://phlippers.net/