[patch] Parent checking fails with max_check_attempts=1

Andreas Ericsson ae at op5.se
Tue Apr 26 16:44:27 CEST 2011

On 04/26/2011 03:52 PM, Andrew Norris wrote:
> In nagios 3.2.3 parent checks are not properly handled when
> max_check_attempts is set to 1.  run_sync_host_check_3x properly
> executes the host check if not using cached data, but it never sets
> check_result_code.  This one-liner fixes that.
> I didn't delve too deep, but I think the patch is correct.  We have had
> this running in production for a couple weeks now and it's saved us from
> a deluge of notifications.

I think you forgot to attach (or inline) the patch.

Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.

More information about the Developers mailing list