On 2010-12-31 22:35, Chris wrote:
> On Fri, 2010-12-31 at 15:16 +0200, Török Edwin wrote:
>> On 2010-12-31 15:09, TR Shaw wrote:
>>>
>>> On Dec 31, 2010, at 2:25 AM, Török Edwin wrote:
>>>
>>>> Actually in 0.96.5 freshclam gets the stats directly from clamd, not the
>>>> logs. If you restart clamd the stats are lost as they are not saved
>>>> anywhere.
>>>
>>>
>>> Oh so that means if you want to keep stats you need to run freshclam on 
>>> shutdown or restart of clamav?
>>
>> Freshclam can run at anytime when clamd is alive (multiple times too of
>> course). If you see 5 viruses today, and restart clamd tomorrow and see
>> 5 more that won't meet the minimum threshold for submission (it will
>> only see last 5).
>> I don't think this is the issue here though.
>>
> Something isn't right here on my system either it appears. According to
> the freshclam log on 30 Nov 10 records were submitted, since then none.
> However, looking at the output of my clamstats script I see that since
> 24 Dec 22 viruses have been detected:

I think Tomasz's reply answers it:

On 2010-12-31 14:20, Tomasz Kojm wrote:
>
> there's a bug (#2418) in ClamAV 0.96.5, which makes it stop recording
> stats data after a database update.

You can try the latest git code to see if it works:
> You may consider upgrading to the
> latest code in the git repository if you need this feature.

Best regards,
--Edwin

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml

Reply via email to