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:

24 Dec Stats
clamd last started              Fri Dec 24 11:39:44 2010
--------------------------------------------------------
Statistics since                01 January 2010
Last Database Update            Fri Dec 24 23:09:23 2010
--------------------------------------------------------
Total viruses detected          2,963

30 Dec Stats
clamd last started              Fri Dec 24 11:39:44 2010
--------------------------------------------------------
Statistics since                01 January 2010
Last Database Update            Thu Dec 30 23:26:28 2010
--------------------------------------------------------
Total viruses detected          2,985

clamconf shows:

SubmitDetectionStats = "/etc/clamd.conf"
DetectionStatsCountry = "US"
DetectionStatsHostID = "0000000000000000000"

However looking at the page at
http://www.stats.clamav.net/host_view.php?id=0000

stats for the last 1,7 or 30 days are empty. clamconf software settings
shows:

Software settings
-----------------
Version: 0.96.5
Optional features supported: MEMPOOL IPv6 CLAMUKO BIGSTACK AUTOIT_EA06
BZIP2 JIT

Any ideas?

-- 
Chris
KeyID 0xE372A7DA98E6705C
31.11°N 97.89°W (Elev. 1092 ft)

Attachment: signature.asc
Description: This is a digitally signed message part

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

Reply via email to