Snort mailing list archives
Log Rotation
From: "Keaton, Lindamaria" <LKeaton () unionsafe com>
Date: Thu, 4 Dec 2003 12:46:05 -0800
Hello everyone. I'm trying to configure snort to rotate logs into a specific directory either every night and then have snort restart it's service. Right now I have a configuration setup that is sort of working but it's not every night or when it reaches a certain limit. /var/log/snort/alert { compress size=1k olddir /var/log/snort-backups mail networkadmin () unionsafe com postrotate /sbin/killall -HUP snort endscript } Plus this configuration does not restart the service. I have to reboot the server every morning to get snort running again. Does anyone have any ideas on how I can configure this to work? Lindamaria ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Log Rotation Keaton, Lindamaria (Dec 04)
- <Possible follow-ups>
- Re: Log Rotation JP Vossen (Dec 04)
- Re: Log Rotation Stephane Nasdrovisky (Dec 05)
- RE: Log Rotation Keaton, Lindamaria (Dec 05)
- RE: Log Rotation JP Vossen (Dec 05)