- From: Steffen Gebert <
>
- To:
- Subject: [chef] Re: Monitoring knife-lastrun?
- Date: Mon, 11 Jun 2012 09:15:29 +0200
Hi Torben,
I saw that presentation, too, (online) and knife-lastrun was my starting
point.
Besides the report handler for zabbix, I've also added it to our hosts
yesterday. So it's pretty easy to inspect the reason for a failure through
knife.
Yours
Steffen
On 11.06.2012, at 07:27,
wrote:
>
On Sun, 10 Jun 2012, Steffen Gebert wrote:
>
>
> Thanks kallen, that was an excellent starting point!
>
>
>
> I've never used zabbix_sender, but - of course - it's absolutely the right
>
> tool for this job!
>
>
>
> I managed to write a handler that reports execution times and status of
>
> chef-client runs to zabbix:
>
> https://github.com/StephenKing/chef-zabbix-custom-checks/blob/master/templates/default/chef-client/chef-client-handler.rb
>
>
>
> Just a question: Do you log more than plain numbers? (exception stack
>
> trace, updated resources etc?). Found nothing out, how to log multiple
>
> lines.
>
>
nope, not at this time. for now, for me, just knowing my clients are
>
succeeding or failing is good enough. those that fail, i'll ssh in and take
>
a look.
>
>
glad it was helpful! :>
>
>
kallen
>
>
>
> Nevertheless, thanks a lot for your help!
>
>
>
> Steffen
Archive powered by MHonArc 2.6.16.