Skip to content

benjamink/chef-graphite_handler

 
 

Repository files navigation

Description

Build Status

A cookbook that a handler that sends chef run results to graphite. If you have the ohai-system_pacakges plugin installed, it will also send package statistics to graphite.

Requirements

The chef_handler cookbook.

Attributes

This cookbook uses the following attributes to configure how it is installed.

  • node['chef_client']['handler']['graphite']['host'] - The graphite server host.
  • node['chef_client']['handler']['graphite']['port'] - The graphite server port.
  • node['chef_client']['handler']['graphite']['prefix'] - The prefix appended to statistics sent to graphite. Defaults to "chef.#{node.chef_environment}.node.#{node['hostname']}".

Usage

Set the host and port properties on the node and include the "graphite_handler::default" recipe.

Credits

The handler was originally written by Ian Meyer and was converted to a cookbook by Peter Donald. Contributions by Lew Goettner, Julian Dunn and others.