Hi

I'm looking for something that's been written that will display the number 
of viruses/malware that Clam has stopped and pipe it to an html file I can 
provide to my customers. 

I found one by Vijay (AT ericavijay.net) but it doesn't seem to work with  
(possibly) the newer output to /var/log/messages (It appears to be 
grepping for something that's no longer there....not being a programmer 
however I cannot say for sure.) The install ran smoothly, but it shows 0 
for viruses found, but cat/grep/word count in /var/log/messages indicates 
that there have been 627 hits on viruses found today so far.)

Has anyone found a reporting tool that will do this and had good luck with 
it?

Thanks,
Sam


-- 
Sam Morris, Owner
Loganet Internet Service
Logan IA, United States of America
712-644-3578

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html



Hi Sam,

I had the same problem with Vijay's script ... it doesn't show anything, but
I've modified 
/var/www/cgi-bin/virus/crontab.pl
...and now it's working.

I've replaced FOUND$ with FOUND  

Use:
        | grep 'FOUND' | sed -e 's/.*:\(.*\) FOUND/\1/' | grep -v Test
Instead of:
        | grep 'FOUND$' | sed -e 's/.*:\(.*\) FOUND/\1/' | grep -v Test

$logfile=/var/log/messages

Take a look: http://www.bit-soft.ro/cgi-bin/virus/display.pl

I have also tried the solution posted by John Fleming and it's working.
Take a look: http://www.bit-soft.ro/virusreport.html

Best regards,
Catalin

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to