|
From: Ben C. <BC...@pa...> - 2005-07-05 22:55:00
|
I'm running the latest PP and see the same thing:
# set Output_Log_File to "yes" to enable it
Output_Log_File = "no"
Output_Log_Filename =
"/usr/local/nagios/var/perfparse_output_log"
Output_Log_Rotate = "yes"
Output_Log_Keep_N_Days = "7"
Last week I created 2 cron jobs to deal with it:
# remove any perfparse error files in /usr/local/nagios/var
1 0 * * * find /usr/local/nagios/var -name 'perfparse_err*' -ctime +1 -exec
rm -f {} \;
# remove perfparse files in /tmp
5 0 * * * find /tmp -name 'perfparse.drop*' -ctime +2 -exec rm -f {} \;
2>/dev/null
Ben
-----Original Message-----
From: Horvath Tamas [mailto:zs...@t-...]
Sent: Tuesday, July 05, 2005 1:55 PM
To: per...@li...
Subject: [Perfparse-users] Log rotate
Hi List!
I use PP 0.105.6 on Debian Woody 3.1.
I have the following settings in perparse.cfg:
Error_Log = "/var/log/perfparse/perfparse.log"
Error_Log_Rotate = "Y"
Error_Log_Keep_N_Days = "7"
Despite the above settings I have old files in /var/log/perfparse/
directory. The oldest ones are those which were created when I installed PP:
perfparse.log.20050518.log
perfparse.log.20050519.log
...
I think the older than 7 day files have to be removed. Am I wrong?
Any help would be appreciated.
Thanks, Tamas!
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Perfparse-users mailing list
Per...@li...
https://lists.sourceforge.net/lists/listinfo/perfparse-users
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
|