Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

Select Status

RSS

gelf_handler (5) Versions 1.0.2

Installs/Configures a Chef handler which reports run failures and to a GELF server. Derived from Jon Woods gem.

Policyfile
Berkshelf
Knife
cookbook 'gelf_handler', '= 1.0.2', :supermarket
cookbook 'gelf_handler', '= 1.0.2'
knife supermarket install gelf_handler
knife supermarket download gelf_handler
README
Dependencies
Quality -%

Description

Build Status

A cookbook that a handler that sends chef run results to a GELF server such as
Logstash or Graylog. If you have the ohai-system_pacakges
plugin installed, it will also send package statistics.

Requirements

The chef_handler cookbook.

Attributes

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

  • node['chef_client']['handler']['gelf']['host'] - The gelf server host. Defaults to nil.
  • node['chef_client']['handler']['gelf']['port'] - The gelf server port. Defaults to 12201.
  • node['chef_client']['handler']['gelf']['facility'] - The facility under which to report. Defaults to 'chef-client'.
  • node['chef_client']['handler']['gelf']['report_host'] - The host to report messages as coming from. Defaults to node['fqdn'].
  • node['chef_client']['handler']['gelf']['blacklist'] - A hash of cookbooks, resources and actions to ignore in the change list.. Defaults to {}.

Usage

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

Blacklisting

Some resources report themselves as having updated on every run even if nothing changed, or
are just things you don't care about. To reduce the amount of noise in your logs these can be
ignored by providing a blacklist. In this example we don't want to be told about the GELF handler
being activated:

node['chef_client']['handler']['gelf']['blacklist'] =
{"chef_handler" => {"chef_handler" => [ "nothing", "enable" ]}

Credits

The handler was originally written by Jon Wood and was converted to a cookbook by Peter Donald.

Dependent cookbooks

chef_handler >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found