I've setup logrotate to rotate my /var/log/snort/session.log daily and mail
it to me. For some reason its being rotated but not but the old log isn't
being mailed, however, I have the same setup for rkhunter that sends me the
output of rkhunter after its run as a cron job and before its compressed.
Below are my settings:
# system-specific logs may be configured here
/var/log/rkhunter.log {
daily
rotate 5
nocreate
maillast
mail [EMAIL PROTECTED]
}
/var/log/snort/session.log {
daily
rotate 5
nocreate
maillast
mail [EMAIL PROTECTED]
}
Any ideas?
--
Chris
Registered Linux User 283774 http://counter.li.org
11:29am up 5 days, 19:21, 1 user, load average: 0.14, 0.05, 0.01
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Honesty is the best policy, but insanity is a better defense.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
____________________________________________________
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________