Git Product home page Git Product logo

puppet-graphite's Introduction

Puppet module for Graphite

This is a puppet-graphite module. All bugs produced by [email protected]

Dependencies

This module depends on

Installation

This module can be installed via the puppet module tool:

puppet module install KrisBuytaert/graphite

Notes

For EL6, Graphite, Carbon and Whisper are included in EPEL repository. You can use a module such as http://forge.puppetlabs.com/stahnma/epel to enable it on your machine.

Usage

include graphite

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

Note that without this define you won't have the default behaviour.

Testing

More Detailed Examples on how to use this module including a fully functional Vagrant box can be found on https://github.com/KrisBuytaert/vagrant-graphite.git

I've tagged the code that supports 0.9.9 versions of graphite-web and carbon with the 0.9.9 tag ..

To Do

Move params with pathos to case $::os['family'] Documentation Move os params in graphite::web::service to params

puppet-graphite's People

Contributors

arimus avatar arioch avatar bartjanssens92 avatar blkperl avatar carroarmato0 avatar jib avatar krisbuytaert avatar pulecp avatar roidelapluie avatar solarkennedy avatar vncntvandriessche avatar vstone avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

puppet-graphite's Issues

Missing License file

The modulefile specifies GPL but there is not license file in the repository.

Also you might want to license this Apache 2 so that it plays nice with other puppet modules (ie. concat is Apache 2).

the default pattern in the header will always match

in ./manifests/carbon/config.pp you concat puppet:///modules/graphite/storage-schemas.conf with priority 0 to /etc/carbon/storage-schemas.conf. this is by itself a good thing, because that file is the header, which should be at the top.

however, that file (files/storage-schemas.conf) also contains:

[default_1min_for_1day]
pattern = .*
retentions = 60s:1d

this is not good, because all new definitions will go behind this one, but the pattern '.*' of the default will always match, so all storage files will always be created according to the default_1min_for_1day definition.

Repo Unavailable

It appears that the repo for this is unavailable. I can provide hosting if this is needed.

-Aaron

fails due to new carbon providing mutiple carbon-x init services rather than just 'carbon'

Carbon service as set below no longer exists;

Error: Could not start Service[carbon]: Execution of '/sbin/service carbon start' returned 1:
Error: /Stage[main]/Graphite::Carbon::Service/Service[carbon]/ensure: change from stopped to running failed: Could not start Service[carbon]: Execution of '/sbin/service carbon start' returned 1:

Install occurred OK:
Package carbon-0.9.10-1.noarch already installed and latest version

Carbon now has a number of services;

[root@visibilitypoc1 site-packages]# ls -la /etc/init.d/ | grep carbon
-rwxr-xr-x. 1 root root 1515 Oct 15 2012 carbon-aggregator
-rwxr-xr-x. 1 root root 1470 Oct 15 2012 carbon-cache
-rwxr-xr-x. 1 root root 1470 Oct 15 2012 carbon-relay
[root@visibilitypoc1 site-packages]#

Which one of these can be used as previous? I'm guessing config will need to change instead of just the init start due to the seperation of the services.

Will delete the module from forge.puppetlabs and try cloneing from git incase this is already resolved.

if so, please feel free to close and let me know.

Thanks,
matt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.