Re: [Nagios-devel] [patch] Parent checking fails with

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

Re: [Nagios-devel] [patch] Parent checking fails with

Post by Guest »

This is a multi-part message in MIME format.
--------------010609080708020102070203
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

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...

--------------010609080708020102070203
Content-Type: text/plain;
name="nagios-3.2.3-fix-hostcheck.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="nagios-3.2.3-fix-hostcheck.patch"

ZGlmZiAtcnUgbmFnaW9zLTMuMi4zL2Jhc2UvY2hlY2tzLmMgbmFnaW9zLTMuMi4zLW1vZC9i
YXNlL2NoZWNrcy5jCi0tLSBuYWdpb3MtMy4yLjMvYmFzZS9jaGVja3MuYwkyMDEwLTA5LTIx
IDExOjA1OjMxLjAwMDAwMDAwMCAtMDQwMAorKysgbmFnaW9zLTMuMi4zLW1vZC9iYXNlL2No
ZWNrcy5jCTIwMTEtMDQtMTIgMTY6MjQ6NDMuMDAwMDAwMDAwIC0wNDAwCkBAIC0yNjA1LDYg
KzI2MDUsNyBAQAogCiAJLyogZXhlY3V0ZSB0aGUgaG9zdCBjaGVjayAqLwogCWhvc3RfcmVz
dWx0PWV4ZWN1dGVfc3luY19ob3N0X2NoZWNrXzN4KGhzdCk7CisJKmNoZWNrX3Jlc3VsdF9j
b2RlPWhvc3RfcmVzdWx0OwogCiAJLyogcHJvY2VzcyB0aGUgaG9zdCBjaGVjayByZXN1bHQg
Ki8KIAlwcm9jZXNzX2hvc3RfY2hlY2tfcmVzdWx0XzN4KGhzdCxob3N0X3Jlc3VsdCxvbGRf
cGx1Z2luX291dHB1dCxjaGVja19vcHRpb25zLEZBTFNFLHVzZV9jYWNoZWRfcmVzdWx0LGNo
ZWNrX3RpbWVzdGFtcF9ob3Jpem9uKTsK
--------------010609080708020102070203--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked