On Thursday 20 July 2006 14:00, Michael Ablassmeier wrote: > > > completely. Also, the shipped binary does log rotation/deletion of it's > > > own, so the logrotate entry is fairly useless (it will rotate only the > > > last 5 minutes worth of logs). > > > > hm, indeed, you are right, i think removing the logrotate entries might > > be safe. Im going to fix this in SVN asap. > > hm, im not sure about that. The zabbix-server just keeps one .old file > which he overwrites frequently (so you cant have a history of lets say 7 > logfiles). So, the lograte script does make some at least some kind of > sense.
If I'm not mistaken it zabbix rotates the current log file every 5 minutes (to .old, and discards the previous .old). So all logrotate can do is rotate logs which will be 5 minutes old at best (regardless if you rotate .old or the real zabbix-server.log), at the present setting of daily log rotation you will have a 5 minute snip of that whole day's logs (not too useful). The ideal solution would be to turn off zabbix-server's internal log rotation but I have not found an option to do that in the .conf :( -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]