Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

newrelic (131) Versions 0.3.7

Installs/Configures New Relic

Policyfile
Berkshelf
Knife
cookbook 'newrelic', '= 0.3.7', :supermarket
cookbook 'newrelic', '= 0.3.7'
knife supermarket install newrelic
knife supermarket download newrelic
README
Dependencies
Quality -%

Description

This cookbook provides an easy way to install the New Relic PHP agent and the New Relic server monitor.

More information?
* https://newrelic.com/docs/server/new-relic-for-server-monitoring
* https://newrelic.com/docs/php/new-relic-for-php
* https://newrelic.com/docs/python/new-relic-for-python

Requirements

Cookbooks:

This cookbook has dependencies on the following cookbooks:

  • php
  • apache2
  • apache2::mod_php5
  • python::pip

Platforms:

  • Ubuntu
  • Debian
  • RHEL
  • CentOS
  • Fedora

Attributes

  • node['newrelic']['repository_key'] - The New Relic repository key, defaults to "548C16BF"
  • node['newrelic']['startup_mode'] - The newrelic-daemon startup mode ("agent"/"external"), defaults to "agent" (New Relic for PHP only)
  • node['newrelic']['license_key'] - Your New Relic license key
  • node['newrelic']['app_name'] - Your New Relic application name (New Relic for Python only)
  • node['newrelic']['python_version'] - Defaults to "latest". Version numbers can be found at http://download.newrelic.com/python_agent/release/ (New Relic for Python only)

Usage

1)
include recipe[newrelic] in a run list to implicly run recipe[newrelic::install] and recipe[newrelic::server-monitor]
- OR -
include the bits and pieces explicitly in a run list:
recipe[newrelic::install]
recipe[newrelic::server-monitor]
recipe[newrelic::php-agent]
recipe[newrelic::python-agent]

2)
change the node['newrelic']['license_key'] attribute to your New Relic license key
--- OR ---
override the attribute on a higher level (http://wiki.opscode.com/display/chef/Attributes#Attributes-AttributesPrecedence)

References

Changelog

0.3.7

* Use a template to configure the server-monitor instead of the non-idempotent execute (Chris Griego)
* PHP agent 3.0 (http://blog.newrelic.com/2012/10/23/new-relic-launches-php-agent-3-0-includes-multi-tenancy-support/)
* PHP agent newrelic-daemon startup modes: agent (new default) / external (historical default)
* Renamed newrelic.python.erb template to newrelic.ini.python.erb

0.3.6

* Added attribute to specify python version. Versions can be found at http://download.newrelic.com/python_agent/release/

0.3.5

* Fixed missing license_key from newrelic.python.erb
* Cleanup of README

0.3.4

* New python agent installation (Paul Rossman)
* New newrelic.python.erb
* New `node['newrelic']['app_name']` attribute
* Added apache2, php, python depends to metadata.db
* Modified php-agent.php to use services

License and Authors

Author: David Joos david@escapestudios.com
Author: Escape Studios Development dev@escapestudios.com
Copyright: 2012, Escape Studios

Unless otherwise noted, all files are released under the MIT license,
possible exceptions will contain licensing information in them.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Dependent cookbooks

apache2 >= 0.0.0
php >= 0.0.0
python >= 0.0.0

Contingent cookbooks

applications Applicable Versions
newrelic-sysmond-policy Applicable Versions
nodestack Applicable Versions
phpstack Applicable Versions
platformstack Applicable Versions
pythonstack Applicable Versions
stack_commons Applicable Versions
sudo_kibana Applicable Versions
tcc Applicable Versions

No quality metric results found