16 GB log files

2 posts / 0 new
Last post
Anonymous
16 GB log files

Hi,

In the last two weeks Nagwin has been creating 16 GB daily log files.  I don't see any configuration changes in any files for that day.  Previously they had been 10-1000 KBs.

It looks like the default settings are being used in the nagios.cfg.  One thing I noticed was the debug was set to 147 (which doesn't look like a valid setting as I don't believe you can have a 1, 4 and 7 for debug set at the same time in a string?)

Thanks,

Andrew

itefix
Offline
Last seen: 21 hours 46 min ago
Joined: 01.05.2008 - 21:33
Nagwin uses the default debug

Nagwin uses the default debug level:

# DEBUG LEVEL
# This option determines how much (if any) debugging information will
# be written to the debug file.  OR values together to log multiple
# types of information.
# Values: 
#          -1 = Everything
#          0 = Nothing
#   1 = Functions
#          2 = Configuration
#          4 = Process information
#   8 = Scheduled events
#          16 = Host/service checks
#          32 = Notifications
#          64 = Event broker
#          128 = External commands
#          256 = Commands
#          512 = Scheduled downtime
#          1024 = Comments
#          2048 = Macros
 
debug_level=148
 
meaning that external commands (128) + Host/service checks (16) + process information (4) are logged.
 
debug_level=147 is totally different: external commands (128) + Host/service checks (16) + Configuration (2) + Functions (1)
 
Tha last one (Functions) can create lots of debug information!