Nagios 3.x spews debug output on configuration verify on RHEL3 systems
jmoseley at corp.xanadoo.com
jmoseley at corp.xanadoo.com
Mon Jan 5 20:12:07 CET 2009
This same issue was posted on the users list back in March, but didn't
generate any interest. Essentially, the problem doesn't exist on RHEL 4 or
5 systems and shows up only when Nagios is compiled with ePN support.
On RHEL3, when verifying configuration, I get:
Nagios 3.0.6
Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org)
Last Modified: 12-01-2008
License: GPL
Reading configuration data...
LEN: 79, END: 77,
BUF=##############################################################################
BUFNOW:
##############################################################################
LEN: 2, END: 0, BUF=#
BUFNOW: #
LEN: 51, END: 49, BUF=# NAGIOS.CFG - Sample Main Config File for Nagios
BUFNOW: # NAGIOS.CFG - Sample Main Config File for Nagios
*
*
*
The original poster posted a patch that seemed to fix the issue:
include/epn_nagios.h
#include <fcntl.h>
++ #undef DEBUG
#undef ctime /* don't need perl's threaded version */
#undef printf /* can't use perl's printf until initialized */
Not sure if this works...
Anyone have any insight?
Thanks,
James Moseley
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at 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
More information about the Users
mailing list