On Tue, 2003-12-16 at 07:25, Sancho2k.net Lists wrote: > Fisher wrote: > > > I use mrtg to record the traffic of the viruses and spam. Have not > > tested yet but looks working. > > Do you have scripts you could share? > > For that matter, does anybody? I use the following cron job to keep track of viruses caught by Clamav using amavis-new: 0 12 * * 1-5 grep -o -P 'INFECTED.+?\)' /var/log/mail/info | sort | uniq -c | /bin/mail -s "`uname -n` weekly virus counts"
I have not yet written anything to pull those stats into mrtg. What I'd really like would be the stats that I get from pflogsum tossed into mrtg. If anyone has a relatively fast way of doing those sorts of stats, please let me know. > > DS > > > > > Internet Helpdesk wrote: > > > >> Does someone already have a script that tallies up the viri found > >> according > >> to the clamd log file & prints the number found during a time period & > >> also > >> reports the top 5 or top 10 for that time period? > >> > >> I'll come up with one myself, if needed of course, but no sense in > >> re-inventing the wheel, right? > >> > >> -Troy > >> > >> > >> > >> ------------------------------------------------------- > >> 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_id=1278&alloc_id=3371&op=click > >> _______________________________________________ > >> Clamav-users mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/clamav-users > >> > >> > > > > > > > > > > ------------------------------------------------------- > > 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_id=1278&alloc_id=3371&op=click > > _______________________________________________ > > Clamav-users mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/clamav-users > > > ------------------------------------------------------- > 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_id=1278&alloc_id=3371&op=click > _______________________________________________ > Clamav-users mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/clamav-users -- Daniel J McDonald <[EMAIL PROTECTED]> Austin Energy ------------------------------------------------------- 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_id=1278&alloc_id=3371&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users