Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
- Puppet >= 4.7.0 < 7.0.0
- , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'beersy-puppet2newrelic', '0.1.0'
Learn more about managing modules with a PuppetfileDocumentation
puppet2newrelic
A module that installs report processors capable of sending Puppet reports to New Relic.
Table of Contents
- Description
- Setup - The basics of getting started with puppet2newrelic
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Description
This module will install the newrelic_insights
report handlers. It also contains Puppet code to manage all of the settings required by them.
Setup
The report handlers can be set up manually or using the supplied puppet code:
Manual Setup
To use this module you will need a couple of things, firstly your report handler of choice will need to be added to the puppet.conf
:
reports = newrelic_insights,console,puppetdb
You will also need to create a newrelic_insights.yaml
at you confdir (usually /etc/puppetlabs/puppet
) that looks like this:
---
"account_id": "9999999"
"insights_key": "NRII-Dq27pLP6mwdoSqLH1zZl4Fcyn0Nj4GTU"
Automated setup
I have included a class that can do all of this for you:
Class: puppet2newrelic
It is important to note that this class requires a restart of the puppet server. This can be implemented with something like this:
class { 'puppet2newrelic':
account_id => "9999999"
insights_key => "NRII-Dq27pLP6mwdoSqLH1zZl4Fcyn0Nj4GTU"
notify => Service['pe-puppetserver'],
}
Parameters
account_id
Your New Relic Account ID
insights_key
Your New Relic Insights Key
Release Notes/Contributors/Etc. Optional
0.1.0 Initial release