[...]
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
[..]
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
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:
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
-