Chef Report/Exception Handler that uses the Zenoss JSON API to insert Events.
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
zaas_handler.rb

README.md

chef-handler-zenoss

Chef Report/Exception Handler that uses the Zenoss JSON API to insert Events.

chef_handler "ZaaS::ZenossJSONAPI" do
  source "#{node['chef_handler']['handler_path']}/zaas_handler.rb"
  arguments ['ip_or_dns_of_zenoss', 'username_with_privs', 'password']
  action :enable
end
def initialize(ip_addr, user, pass, protocol='https://', device='ChefDeploy', component='ChefHandler')