Forge Home

graphite

Module to manage the Graphite monitoring tool

20,833 downloads

4,712 latest version

4.6 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

  • 2.1.0 (latest)
  • 2.0.6
  • 2.0.5
  • 2.0.4
  • 2.0.3
  • 2.0.2
  • 2.0.1
  • 2.0.0
  • 1.0.1
  • 0.2.4
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0 (deleted)
  • 0.1.0 (deleted)
released Feb 12th 2019
This version is compatible with:

Start using this module

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

Add this module to your Puppetfile:

mod 'gdsoperations-graphite', '2.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add gdsoperations-graphite
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install gdsoperations-graphite --version 2.1.0

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: graphite

Documentation

gdsoperations/graphite — version 2.1.0 Feb 12th 2019

A Puppet module for managing the installation of Graphite.

Build
Status

Usage

You can either install using a package or Python Pip (default behaviour). If you decide to use Pip, then you will need Python, Python's development headers/libs, pip and virtualenv installed. If you're not already managing these you can use the python module, which is included as a dependency:

class { 'python':
  pip        => true,
  dev        => true,
  virtualenv => true,
}

Then for the simplest possible configuration:

include graphite

To install using a package:

class { 'graphite':
   use_python_pip => false,
}

To specifiy the package name, use the following parameters:

whisper_pkg_name
carbon_pkg_name
graphite_web_pkg_name

Configuration

If you want to run the web interface on a port other than 80 you can pass this in like so:

class { 'graphite':
  port => 9000,
}

Versioning

If you want to install a specific version of whisper and carbon, you like so:

class { 'graphite':
  port    => 9000,
  version => '0.9.12',
}

Another Graphite module?

Graphite can be painfull to install and many blog posts and gists are dedicated to that fact. However it appears to have got easier with most of the components now available in the Python Package repository. All the other puppet modules I found either lacked support for Ubuntu/Debian, relied on an undocumented package or did a lot of wgetting.

Although I've only tested this module on Ubuntu it should work on other distros too, maybe with minor tweaks.