I was able to get rid of debug messages by adding "#undef DEBUG" to include/epn_nagios.h.
#include <EXTERN.h> #include <perl.h> #include <fcntl.h> #undef DEBUG /* this is defined somewhere above on RHEL3 systems - Caylan */ #undef ctime /* don't need perl's threaded version */ #undef printf /* can't use perl's printf until initialized */ --- Caylan On Mar 19, 2008, at 2:55 PM, Caylan Van Larson wrote: > I can only get this to happen on RHEL3 hosts. The binary doesn't spew > the BUFNOW/LEN debug messages when compiled on RHEL4. > > --- > > Caylan > > > On Mar 19, 2008, at 8:51 AM, Caylan Van Larson wrote: > >> While testing the nagios 3.0 configuration I'm seeing strange debug >> output... even though debug is set to zero. >> >> # ./bin/nagios -v ./nagios.cfg >> >> Nagios 3.0 >> Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) >> Last Modified: 03-13-2008 >> License: GPL >> >> Reading configuration data... >> >> LEN: 79, END: 77, >> BUF >> = >> ############################################################################## >> BUFNOW: >> ############################################################################## >> LEN: 2, END: 0, BUF=# >> BUFNOW: # >> LEN: 54, END: 52, BUF=# NAGIOS.CFG - Sample Main Config File for >> Nagios 3.0 >> BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios 3.0 >> LEN: 2, END: 0, BUF=# >> BUFNOW: # >> .....continued display of configuration lines.... >> >> Operating System: RHEL 3 Update 6 >> Compile Options: ./configure --prefix=/usr/local/nagios-3.0 --with- >> command-group=nagiocmd --enable-embedded-perl --with-perlcache -- >> with- >> nagios-user=nagios --with-nagios-group=nagios >> GCC: 3.2.3 >> Configuration: debug=0 >> >> How do I stop this strange output from appearing? >> >> Caylan >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null