Page 1 of 1

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

Posted: Thu Jan 15, 2009 3:26 am
by Guest
Thanks Thomas. I've compiled the nagios daemon from source using your
patch and it works great. However, I try to keep this and our other Redhat
systems completely tied to yum repositories. So, I'd love it if your
patch/suggestions could make it into the next release so the RHEL3 package
maintainers can build this in.


James Moseley





Thomas
Guyot-Sionnest
To
Nagios Developers List
01/14/2009 02:57
cc

Please respond to Subject
Nagios Developers Re: [Nagios-devel] Nagios 3.x spews
List debug output on configuration









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









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