Re: vsFTP reports
Ed Wilts <[email protected]>
| Newsgroups | gmane.linux.redhat.release.taroon.general |
|---|---|
| Organization | (ewilts) |
| Message-ID | <[email protected]> |
On Tue, Jul 18, 2006 at 10:53:49AM -0400, Anthony J Placilla wrote: > Running vsFTPd and I need to get some very granular reports and > notification. > The log parsing piece I can do with (swatch, sawmill, whatever) but the > customer wants to be notified via email whenever one of 90 users posts a > file & whenever someone downloads it. > > plus the ability to notify the original poster upon succesful upload & > download. > > If anyone has gotten into this area pointers are requested I don't run vsftpd (I run ProFTPd instead) but if vsftp writes to xferlog like most good FTP servers, then you should be able to quickly parse this out. Through the script into your logrotate and you'll get it weekly (or however often you rotate). Alternatively, uses the pieces of logcheck to keep track of where you were in xferlog so that you can parse the new entries on a more frequent basis. My users have requested this in a daily basis for some accounts so it's pretty trivial to egrep on a day boundary for the data. -- Ed Wilts, RHCE Mounds View, MN, USA mailto:[email protected] Member #1, Red Hat Community Ambassador Program -- Taroon-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/taroon-list