Re: [Clamav-users] Clamd Virus stats using php/rrdtool

2004-04-13 Thread Dilip M
[...] So I created static linux php binary ready to use. It's available at http://clamav.or.id/contrib/clamd-stat RRD files are stored under rra, and graphs are stored under html/graph. I tried and i'm getting this error: # /opt/php5 bin/parse_log.php < /var

Re: [Clamav-users] Clamd Virus stats using php/rrdtool

2004-04-13 Thread Dilip M
[..] Is anyone using mrtg to gather stats on spam/virus activity? So, I created something using php and rrdtool (not mrtg, but similar). Why php? Because I like it best :) Even though it IS written in PHP, it is intended (for now) as command line application, not web based application. Changing

Re: [Clamav-users] Clamd Virus stats using php/rrdtool

2004-04-12 Thread Jakub Jankowski
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: In-Reply-To:

[Clamav-users] Clamd Virus stats using php/rrdtool

2004-04-12 Thread Fajar A. Nugraha
Korchmenuk Nickolay wrote: grep FOUND clamd.log | cut -d \ -f 2 | sort | uniq -c grep FOUND clamd.log | cut -d \ -f 2 | sort | uniq -c | awk '{print $2,$1}' grep FOUND clamd.log | awk '{print $8}' | sort | uniq -c | sort -k1nr,1 Who's next? ;-) me :-) top10 from clamd.log -