DEPRECATED: Chef cookbook to install the Librato Collectd Plugin
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
attributes
recipes
.gitignore
README.md
metadata.rb

README.md

DEPRECATED: Please use https://github.com/librato/chef-librato instead.

Description

Chef cookbook that installs and configures the Librato Metrics Collectd Plugin.

Requirements

Attributes

Required

  • node[:collectd_librato][:version] - Version of Librato Collectd plugin to install. Tag must exist. (optional, defaults to latest)
  • node[:collectd_librato][:email] - Librato Metrics Email
  • node[:collectd_librato][:api_token] - Librato Metrics API Token

Optional

  • node[:collectd_librato][:extra_config] - A hash of extra configuration settings to pass to the collectd-librato plugin. Keys/values must match the options described here.

Usage

After setting the above attributes (whether through chef-server or by just including them in your recipe), include the collectd recipe (see Requirements) and collectd-librato recipe to your recipe or runlist:

# recipe
include_recipe "collectd"
include_recipe "collectd-librato"
# runlist
recipe[collectd]
recipe[collectd-librato]

Verification

If everything went well, there should be a file at /etc/collectd/plugins/python.conf which configures the librato python plugin with your credentials.