<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2963" name=GENERATOR></HEAD>
<BODY
style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman,new york,times,serif">
<DIV dir=ltr align=left><SPAN class=842500621-12122006>You can set the
loglocation, the rotation period and the archive location in nagios.cfg for
starters. There are several other files that you can also change the
location of.</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=842500621-12122006></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=842500621-12122006># LOG FILE<BR># This is
the main log file where service and host events are logged<BR># for historical
purposes. This should be the first option specified<BR># in the config
file!!!</SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN
class=842500621-12122006>log_file=/var/log/nagios/nagios.log<BR></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=842500621-12122006></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=842500621-12122006># LOG ROTATION
METHOD<BR># This is the log rotation method that Nagios should use to
rotate<BR># the main log file. Values are as
follows..<BR>#
n = None - don't rotate the
log<BR>#
h = Hourly rotation (top of the
hour)<BR>#
d = Daily rotation (midnight every
day)<BR>#
w = Weekly rotation (midnight on Saturday
evening)<BR>#
m = Monthly rotation (midnight last day of
month)<BR></SPAN></DIV>
<DIV dir=ltr align=left><SPAN
class=842500621-12122006>log_rotation_method=d</SPAN></DIV>
<DIV><SPAN class=842500621-12122006></SPAN> </DIV>
<DIV><SPAN class=842500621-12122006># LOG ARCHIVE PATH<BR># This is the
directory where archived (rotated) log files should be<BR># placed (assuming
you've chosen to do log rotation).</SPAN></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><SPAN
class=842500621-12122006>log_archive_path=/var/log/nagios/archives<BR></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of </B>Behen,
Sean<BR><B>Sent:</B> Tuesday, December 12, 2006 4:01 PM<BR><B>To:</B>
nagios-users@lists.sourceforge.net<BR><B>Subject:</B> [Nagios-users] Niagos Low
Disk Space<BR></FONT><BR></DIV>
<DIV></DIV>I am receiving alerrt messages about low disk space. Is there a
way to move this log file to a different location, say home or should I relocate
another log file such a as Nessus, is that possible? <BR><BR><BR>Sean
Behen<BR>Atlas Group Inc.<BR>Kennebunk, ME 04043
<BR>sbehen@atlasgroup.net<BR>(207) 985 - 9844 office<BR>(207) 423 - 2562
mobile<BR></BODY></HTML>