[chef] Re: How to monitor if chef-client is actually working


Chronological Thread 
  • From: Michael Herman < >
  • To:
  • Subject: [chef] Re: How to monitor if chef-client is actually working
  • Date: Thu, 30 Jun 2011 09:31:43 +1000

Robert,

You can use an Exception and Report handlers to perform arbitrary code on a successful or failed chef-client run.

http://wiki.opscode.com/display/chef/Exception+and+Report+Handlers

We use a report handler, so that nagios will alarm if a successful run hasn't completed in the last 60 minutes or so.

Rgds,

mgh

On Thu, Jun 30, 2011 at 9:24 AM, Robert Keng < "> > wrote:
Hi all,

Just wondering if anyone knows if there is a way to monitor chef-client to make sure it isn't stuck in retries because of some error in some recipe? Does the client actually reply back to the chef-server if its able to apply all recipes and things are happy?

I apologize if this is a really simple question, fairly new to chef...Just I'd rather not have to parse /var/log/chef/client.log for this, thanks!

-Robert




Archive powered by MHonArc 2.6.16.

§