Forge Home

newrelic

Newrelic module

10,053 downloads

9,830 latest version

2.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Dec 30th 2013

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'tystr-newrelic', '0.1.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add tystr-newrelic
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install tystr-newrelic --version 0.1.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: php, newrelic

Documentation

tystr/newrelic — version 0.1.1 Dec 30th 2013

Newrelic Puppet Module

Build Status

This module manages installation and configuration of newrelic server monitoring daemon and application monitoring agents.

Quick Start

Install the server monitoring daemon

class { 'newrelic::server':
    license_key => 'your_license_key'
}

Install application monitoring agents

Currently the following application monitoring agents are supported:

  • [PHP] (#php)

PHP

Basic installation:

class { 'newrelic::php':
    license_key => 'your_license_key',
}

If you need to customize the installation process, you can pass parameters to the class:

class { 'newrelic::php':
    license_key => 'your_license_key',
    install_noksh => 1,
    install_shell => 'bash',
    install_path => 'path1:path2',
    install_phplist => 'dir1:dir2',
    install_arch => 'x86',
    install_initscript => 'initscript-name',
    install_daemonpath => '/usr/bin/newrelic-daemon',
    install_use_cp_not_ln => 'startup-daemon'
}

See Newrelic's documentation for more information about these options.

License

This module is released under the MIT License.

Contact

Tyler Stroud tyler@tylerstroud.com

Support

Please log tickets and issues at our Projects site

Running the Tests

To run the rspec-puppet tests:

rake spec