Debug mode?

Subhendu Ghosh sghosh at sghosh.org
Tue Sep 3 21:54:36 CEST 2002



--enable-DEBUG0 shows function entry and exit
--enable-DEBUG1 shows general info messages
--enable-DEBUG2 shows warning messages
--enable-DEBUG3 shows scheduled events (service and host checks... etc)
--enable-DEBUG4 shows service and host notifications
--enable-DEBUG5 shows SQL queries


On Tue, 3 Sep 2002, Rusch, Daniel wrote:

> Thanks, do you know what features I'll get if I re-compile with the flag?
> 
> -----Original Message-----
> From: Subhendu Ghosh [mailto:sghosh at sghosh.org]
> Sent: Tuesday, September 03, 2002 1:01 PM
> To: Rusch, Daniel
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Debug mode?
> 
> 
> On Tue, 3 Sep 2002, Rusch, Daniel wrote:
> 
> > Can Nagios be run in a debug mode?  I need to see exactly what the command
> > is that nagios is running.  I can run the a command from the command line
> > but nagios can't execute it and I'd like to see what nagios is trying to
> > execute
> > 
> 
> You have to compile it with the DEBUGx flag enabled.  There is no runtime 
> switch.
> 
> --
> 
> -sg
> 

-- 




-------------------------------------------------------
This sf.net email is sponsored by: OSDN - Tired of that same old
cell phone?  Get a new here for FREE!
https://www.inphonic.com/r.asp?r=sourceforge1&refcode1=vs3390




More information about the Users mailing list