how to rotate performance log files?

Aleksey Tsalolikhin aleksey.tsalolikhin at gmail.com
Wed Dec 28 19:39:55 CET 2005


Hi,

(Nagios 1.3 on RedHat ES 3)

I have host and service performance logging enabled in nagios.cfg:

xpdfile_host_perfdata_file=/usr/local/nagios/var/hostperf.log
xpdfile_service_perfdata_file=/usr/local/nagios/var/serviceperf.log

I also have log file rotation enabled:

log_rotation_method=d

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?

Thanks,
-at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20051228/5493e3a4/attachment.html>


More information about the Users mailing list