Re: [Nagios-devel] Host and Services update fonction called twice

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] Host and Services update fonction called twice

Post by Guest »

--0016364165fb7b29b40480326762
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Fri, May 15, 2009 at 11:55 AM, Matthieu Kermagoret
wrote:
> This issue has been successfully reproduced on Nagios 3.0.6, 3.1.0 and
> the latest CVS revision with NDOUtils 1.4b7.
>

Can still be reproduced with latest Nagios CVS revision. This is now
the oldest unassigned issue within Nagios' tracker
(http://tracker.nagios.org/view.php?id=3D4) :-(

You'll find attached a patch which tries to correct Nagios' behavior.
It causes host/service status not to be updated when check is
scheduled but only when check results are processed. Is there any
weird case that would cause this logic to fail ?

Best regards,

--=20
Matthieu KERMAGORET | D=C3=A9veloppeur

[email protected]

MERETHIS est =C3=A9diteur du logiciel Centreon.

--0016364165fb7b29b40480326762
Content-Type: text/x-diff; charset=US-ASCII;
name="nagios_status_update_function_called_twice.patch"
Content-Disposition: attachment;
filename="nagios_status_update_function_called_twice.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_g5zft2zg0

ZGlmZiAtTmF1ciBhL2Jhc2UvY2hlY2tzLmMgYi9iYXNlL2NoZWNrcy5jCi0tLSBhL2Jhc2UvY2hl
Y2tzLmMJMjAxMC0wMi0yMiAxNjozNzoxNy4wMDAwMDAwMDAgKzAxMDAKKysrIGIvYmFzZS9jaGVj
a3MuYwkyMDEwLTAyLTIyIDE2OjQwOjE3LjAwMDAwMDAwMCArMDEwMApAQCAtMTc3NSwxMCArMTc3
NSw2IEBACiAJCWxvZ19kZWJ1Z19pbmZvKERFQlVHTF9DSEVDS1MsMiwiS2VlcGluZyBvcmlnaW5h
bCBzZXJ2aWNlIGNoZWNrIGV2ZW50IChpZ25vcmluZyB0aGUgbmV3IG9uZSkuXG4iKTsKIAkJfQog
Ci0KLQkvKiB1cGRhdGUgdGhlIHN0YXR1cyBsb2cgKi8KLQl1cGRhdGVfc2VydmljZV9zdGF0dXMo
c3ZjLEZBTFNFKTsKLQogCXJldHVybjsKICAgICAgICAgfQogCg==
--0016364165fb7b29b40480326762--





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