[chef] Re: Re: Re: Monitoring chef-client failures


Chronological Thread 
  • From: Ian Marlier < >
  • To:
  • Subject: [chef] Re: Re: Re: Monitoring chef-client failures
  • Date: Mon, 10 Oct 2011 14:24:45 -0400



On Mon, Oct 10, 2011 at 2:04 PM, Haim Ashkenazi < "> > wrote:
Hi Bryan,

On Mon, Oct 10, 2011 at 7:56 PM, Bryan Baugher < " target="_blank"> > wrote:
Chef has built-in json reporting[1]. Just grab this cookbook from opscode[2] and apply the json_file recipe to each node. You will then get a massive report of each run at /var/chef/reports/.

If you also look at Chef's exception handling[1] they give you examples on how to use[2] and also how to expand your error handling.
Thanks, I'll look at both solutions.


We are using the chef report and exception handlers to submit success/failure to our monitoring system (Nagios) using NSCA.  Works like a charm.

 

--
Ian Marlier | Senior Systems Engineer
Brightcove, Inc.
One Cambridge Center, 12th Floor, Cambridge, MA 02142
" target="_blank">




Archive powered by MHonArc 2.6.16.

§