[Nagios-devel] dnx patch for nagios 3.0 available here and in svn

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

[Nagios-devel] dnx patch for nagios 3.0 available here and in svn

Post by Guest »

------=_Part_3962_12653921.1205422015681
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi list(s),

Here's a DNX patch for the Nagios 3.0 stable release.

Please note that the attached patch is slightly smaller than the
nagios-3.0rc2-dnx.patch that was packaged with DNX 0.16, because there
are fewer changes in this patch. The only functional difference
between the old and new patches is that this new patch removes
*changes* to functionality found in the now canonical Nagios 3.0 code
base.

To be more explicit, in the earlier patch, I *moved* some event broker
functionality from one event dispatch location to another in
base/checks.c. In this patch, I *copied* the functionality from the
first dispatch location to the second. The reason for moving the
functionality in the first place was that I was trying to convince
Ethan that event dispatch should work in a slightly different way. Now
that 3.0 has been released, the canonical functionality should not be
changed, but rather only enhanced by third-party product patches. This
patch enhances without changing.

This patch is backward compatible with nagios 3.0 rc2 and rc3.

This patch is checked into the DNX SVN trunk, and will be released
with version 0.17 of DNX in a few weeks.

Regards,

John Calcote
DNX project maintainer
http://dnx.sourceforge.net

------=_Part_3962_12653921.1205422015681
Content-Type: application/octet-stream; name=nagios-3.0-dnx.patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fdrgk3nd0
Content-Disposition: attachment; filename=nagios-3.0-dnx.patch

LS0tIG5hZ2lvcy0zLjAvYmFzZS9jaGVja3MuYwkyMDA4LTAyLTI4IDEyOjI2OjEyLjAwMDAwMDAw
MCAtMDcwMAorKysgbmFnaW9zLTMuMC1wYXRjaGVkL2Jhc2UvY2hlY2tzLmMJMjAwOC0wMy0xMyAw
OTowMjowMi4wMDAwMDAwMDAgLTA2MDAKQEAgLTQzNSw2ICs0MzUsMzIgQEAKIAkvKiBzZXQgdGhl
IGV4ZWN1dGlvbiBmbGFnICovCiAJc3ZjLT5pc19leG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dWx0X2luZm8uc2VydmljZV9kZXNjcmlwdGlvbj0oY2hh
ciAqKXN0cmR1cChzdm

...[email truncated]...


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