Forge Home

graphite

Module for managing and configuring graphite

10,247 downloads

10,247 latest version

3.5 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.0.1 (latest)
released Jan 19th 2013

Start using this module

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

Add this module to your Puppetfile:

mod 'ispavailability-graphite', '0.0.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install ispavailability-graphite --version 0.0.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

Documentation

ispavailability/graphite — version 0.0.1 Jan 19th 2013

puppet-graphite

A puppet module for managing and configuring graphite

https://github.com/graphite-project

This module is puppet 3 tested

Usage

Installation, make sure service is running and will be started at boot time:

 class { 'graphite': }

Removal/decommissioning:

 class { 'graphite':
   ensure => 'absent',
 }

Install everything but disable service(s) afterwards:

 class { 'graphite':
   status => 'disabled',
 }

carbon

Carbon is 1 of the applications for graphite. You can activate the 3 separate services individually depending on requirments.

Common config variables:

 carbon_config_file => "puppet:///modules/${module_name}/path/to/your/carbon.conf"

cache

 carbon_cache_enable => true

relay

 carbon_relay_enable => true

aggregator

 carbon_aggregator_enable => true

storage definitions

For defining the storage methods a define is in place:

 graphite::carbon::cache::storage { 'default_1min_for_1day':
   pattern    => '.*'
   retentions => '60s:1d'
 }

An other of sequence can be given with the order => directive.

web

For the graphite-web there are 2 variables:

 web_dashboard_config_file => "puppet:///modules/${module_name}/path/to/your/dashboard.conf"
 web_local_settings_file   => "puppet:///modules/${module_name}/path/to/your/local_settings.py"

whisper

Whisper is the storage for all the data. This one has no special configuration.

assumptions

Certain assumptions have been made with this module:

  1. carbon, graphite-web & whisper are available through a repository.
  2. when no config files are specified, the default ones are used.
  3. All 3 applications are standard installed.
  4. For the 3 processes from carbon; unless activated they are not running.