<div>Hello</div>
<div> </div>
<div>Redhat comes with logrotate software. do man for logrotate or search the internet its pretty simple.</div>
<div>all the default logs like syslog are rotated by it.</div>
<div> </div>
<div>Hope it helped</div>
<div> </div>
<div>Moshe Sharon<br><br> </div>
<div><span class="gmail_quote">On 12/28/05, <b class="gmail_sendername">Aleksey Tsalolikhin</b> <<a href="mailto:aleksey.tsalolikhin@gmail.com">aleksey.tsalolikhin@gmail.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br><br>(Nagios 1.3 on RedHat ES 3)<br><br>I have host and service performance logging enabled in nagios.cfg
:<br><br>xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log<br>xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log <br><br>I also have log file rotation enabled:<br><br>log_rotation_method=d<br>
<br>However log_rotation_method only applies to nagios.log. Should I set up logrotate to move the files out and then HUP nagios at midnight? or is there a better way to do it? <br><br>Thanks,<br><span class="sg">-at<br>
</span></blockquote></div><br>