/chef-newrelic-sysmond

Chef cookbook for newrelic-sysmond

Primary LanguageRubyMIT LicenseMIT

chef-newrelic-sysmond Build Status

Description

Installs newrelic-sysmond, New Relic for Server Monitoring.

Requirements

Cookbooks

The following cookbooks are direct dependencies:

  • apt (for Debian and Ubuntu)
  • yum (for RHEL and CentOS)

Supported Platforms

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

Recipes

  • newrelic-sysmond - The default recipe.

Usage

This cookbook installs the newrelic-sysmond components if not present, and pulls updates if they are installed on the system.

Attributes

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"]         = ""

Basic Settings

You must set the value for node["new_relic"]["license_key"]

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Contributors

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
  • @apai4
    • add 64bit yum repo support
  • @jhsu
    • add apt_uri and apt_key attributes
  • @jolexa
    • add yum_baseurl attribute

License

chef-newrelic-sysmond