Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
"Installs/Configures ganglia"
Ruby
branch: master

This branch is 143 commits behind ganglia:master

Failed to load latest commit information.
attributes
providers gmetric and python plugin LWRP
recipes
resources gmetric and python plugin LWRP
templates/default Graphite integration fixes. Bumped version to 0.0.9.
README.rdoc LWRP docs
metadata.json
metadata.rb

README.rdoc

DESCRIPTION:

Installs and configures Ganglia.

ganglia.sourceforge.net/

REQUIREMENTS:

  • SELinux must be disabled on CentOS

  • iptables must allow access to port 80

ATTRIBUTES:

USAGE:

A run list with “recipe[ganglia]” enables monitoring.

A run list with “recipe[ganglia::web]” enables the web interface.

A run list with “recipe[ganglia::graphite]” 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.

Something went wrong with that request. Please try again.