Using community exception and report handlers

When running your Chef client as a daemon on your nodes, you usually have no idea whether everything works as expected. Chef comes with a feature named Handler, which helps you to find out what's going on during your Chef client runs.

There are a host of community handlers available, for example, to report Chef client run results to IRC, via email, to Campfire, Nagios, or Graphite. You name it.

In this section, we'll see how to install an IRC handler as an example. The same method is applicable to all other available handlers.

Note

For a full list of available community handlers, go to http://docs.chef.io/community_plugin_report_handler.html

Getting ready

In order to install community exception and report ...

Get Chef Infrastructure Automation Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.