Re: [Nagios-devel] Nagios 3.x spews debug output on configuration

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] Nagios 3.x spews debug output on configuration

Post by Guest »

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[email protected] wrote:
> Should the patch below for RHEL3 systems be applied in the official source
> release or other documentation so that package maintainers can build RPM's
> with the below fix?

I ran into this as well... looks like old Perl includes define DEBUG.
This can be easily fixed by adding this line:
#undef DEBUG

right after #include in include/epn_nagios.h

IMHO it would be better though to s// all bare DEBUG's in the code to
something more unique like NAGIOS_DEBUG to avoid any similar issue in
the future. I can provide a full patch if Ethan is interested.


- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJblGg6dZ+Kt5BchYRAo6GAKC+dM2BeT5BzD01I8ApdnU0anjjEgCgklX/
BxjBptBLja++ntVRrEANzJ4=
=xUsR
-----END PGP SIGNATURE-----





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