chef-handler-splunk 0

Chef Exception & Reporting Handler for Splunk

Description

A Chef Exception & Reporting Handler for Splunk.

Usage

Via Cookbook (preferred)

See the splunk_handler Cookbook.

Via Recipe (old, non-preferred)

  1. Add the chef_handler Cookbook to a Node’s Run List.
  2. Given a Splunk username as USER, password as PASS, and host name as HOST, create a Recipe similar to the one below:
include_recipe 'chef_handler'

gem_package('chef-handler-splunk'){action :nothing}.run_action(:install)

chef_handler 'Chef::Handler::SplunkHandler' do
  action :enable
  arguments ['username', 'password', 'host']
  source File.join(Gem.all_load_paths.grep(/chef-handler-splunk/).first,
                   'chef', 'handler', 'splunk.rb')
end

Source

Author

Greg Albrecht [email protected]

Copyright

Copyright 2012 Splunk Inc.

License

Apache License 2.0. See LICENSE.txt

Related Repositories

chef_handler_splunk

chef_handler_splunk

A Chef report and exception handler for splunk ...

chef-handler-splunk

chef-handler-splunk

Chef Exception & Reporting Handler for Splunk ...

chef-handler-splunkstorm

chef-handler-splunkstorm

A Chef Exception & Reporting Handler for Splunk Storm. ...

cookbook-splunk_handler

cookbook-splunk_handler

Cookbook for the Chef Exception & Reporting Handler for Splunk ...