No commit activity in last 3 years
No release in over 3 years
Provides insight into Chef status from within Riemann
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

chef-handler-riemann

Chef Handler that reports to Riemann.

It reports when the Chef run starts and finishes, and outputs associated events depending on outcome.

Usage

This is available as a gem

Because this handler has support for start events, you can't use the chef_handler cookbook. Instead, it needs to be added to client.rb. The community chef-client cookbook can help with this, as it provides easy methods for making client.rb load the gem and add the handler. Example usage:

# Riemann handler
node.default['chef_client']['load_gems']['chef-handler-riemann'] = {}

[ 'start', 'report', 'exception' ].each do |type|
  node.default['chef_client']['config']["#{type}_handlers"] = [
    {
      :class => "Chef::Handler::Riemann",
      :arguments => [ { :host => "localhost" } ]
    }
  ]
end