Git Product home page Git Product logo

co-chef-ganglia's Introduction

DESCRIPTION:

Installs and configures Ganglia.

ganglia.sourceforge.net/

REQUIREMENTS:

  • SELinux must be disabled on CentOS

  • iptables must allow access to port 80

ATTRIBUTES:

See the ‘attributes/ganglia.rb` file.

USAGE:

A run list with “recipe” enables monitoring.

A run list with “recipe” enables the web interface. NOTE: if you’re using apache, and you want to run the ganglia web interface on a different port, you should configure that with attributes available from the apache cookbooks:

default[:apache][:listen_ports]

However, This cookbook does make several attributes available to write an apache virtual host config file.

A run list with “recipe” enables graphite graphs.

LWRP:

gmetric

Installs a gmetric plugin.

The plugin is composed of two templates:

  • One for the script

  • One for the cron job that will call the script

The templates must be in the caller cookbook.

Example:

ganglia_gmetric 'memcache' do
    options :port => 11211
end

templates:
cookbooks/memcache/templates/default/memcache.gmetric.erb
cookbooks/memcache/templates/default/memcache.cron.erb

The content of ‘options’ will be passed to the templates

python

Installs a python plugin.

The plugin is composed of two templates:

  • One for the python module

  • One for the configuration of the module

The templates must be in the caller cookbook.

Example:

ganglia_python 'memcache' do
    options :port => 11211
end

templates:
cookbooks/memcache/templates/default/memcache.py.erb
cookbooks/memcache/templates/default/memcache.pyconf.erb

The content of ‘options’ will be passed to the templates

CAVEATS:

This cookbook has been tested on Ubuntu 10.04 and Centos 5.5.

Search seems to takes a moment or two to index. You may need to converge again to see recently added nodes.

co-chef-ganglia's People

Contributors

bradmontgomery avatar dje avatar gilles avatar luckymike avatar

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.