DEPRECATED: Please use https://github.com/librato/chef-librato instead.
Chef cookbook that installs and configures the Librato Metrics Collectd Plugin.
node[:collectd_librato][:version]
- Version of Librato Collectd plugin to install. Tag must exist. (optional, defaults to latest)node[:collectd_librato][:email]
- Librato Metrics Emailnode[:collectd_librato][:api_token]
- Librato Metrics API Token
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.
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]
If everything went well, there should be a file at /etc/collectd/plugins/python.conf
which configures the librato python plugin with your credentials.