[patch] Parent checking fails with max_check_attempts=1

Andrew Norris andrewn at locus.net
Tue Apr 26 16:48:00 CEST 2011


On 04/26/2011 10:44 AM, Andreas Ericsson wrote:
> 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.

Naturally...
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: nagios-3.2.3-fix-hostcheck.patch
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20110426/c4c7810f/attachment.ksh>
-------------- next part --------------
------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/whatsupgold-sd
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list