On 2004-04-12, Fajar A. Nugraha wrote: >>>>>grep FOUND clamd.log | cut -d \ -f 2 | sort | uniq -c [...] >With all these good answer, I find it amazing that no one actually >answered the real question : >Is anyone using mrtg to gather stats on spam/virus activity?
I believe I did: <quote> In-Reply-To: <[EMAIL PROTECTED]> Message-ID: <[EMAIL PROTECTED]> [...] #!/bin/sh VIRCOUNT=`grep -c FOUND /wherever/is/your/clamd.log` echo $VIRCOUNT echo 0 echo `uptime` echo `hostname` </quote> Which is a basic (but working) mrtg data source. I personally use a similar snippet, just a bit more tuned. s. -- (0> Jakub Jankowski [url]: s.atn.pl "Nawet w Krainie Czarow //\ [EMAIL PROTECTED] [rlu]: 174516 latwiej jest spotkac V_/_ [EMAIL PROTECTED] [ekg]: 921514 Babe Jage niz Alicje" Fingerprint: FCBF F03D 9ADB B768 8B92 BB52 0341 9037 A875 942D ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users