[Clamav-users] clamstats

2008-12-03 Thread Chris
I'm a bit confused. Looking at my clamstats for 30 Nov I see: Last Database UpdateSun Nov 30 23:32:57 2008 Total viruses detected  407 Total Database Signatures   469,236 for 1 Dec: Last Database UpdateM

[Clamav-users] Clamstats

2006-09-25 Thread Gerard Seibert
I installed the clamstats-0.2.pl program because it was listed on this forum recently. Prior to actually running it, I cleaned out the clamd.log file. The program is producing an error message. This is the out put of one such incident. Script started on Mon Sep 25 18:57:55 2006 Use of uninitializ

Re: [Clamav-users] clamstats

2008-12-04 Thread Török Edwin
On 2008-12-04 05:49, Chris wrote: > I'm a bit confused. Looking at my clamstats for 30 Nov I see: > > Last Database UpdateSun Nov 30 23:32:57 2008 > > Total viruses detected 407 > Total Database Signatures 469,236 >

Re: [Clamav-users] clamstats

2008-12-04 Thread Chris
On Thursday 04 December 2008 3:00 am, Török Edwin wrote: > On 2008-12-04 05:49, Chris wrote: > > if (/main\.(?:cvd|inc).+\(version:\s(\d+),\ssigs:\s(\d+),/) { > > .inc is no longer used, you should replace that with cld. > > > if (/main\.(?:cld|inc).+\(version:\s(\d+),\ssigs:\s(\d+),/)

Re: [Clamav-users] clamstats

2008-12-04 Thread Chris
On Thursday 04 December 2008 3:00 am, Török Edwin wrote: > > if (/main\.(?:cld|inc).+\(version:\s(\d+),\ssigs:\s(\d+),/) { > > Use 'cvd|cld' and not cld|inc or cvd|inc. > I forgot to ask about this line Edwin: if (/daily\.(?:cld|inc).+\(version:\s(\d+),\ssigs:\s(\d+),/) { Should it be changed al

Re: [Clamav-users] clamstats

2008-12-04 Thread Török Edwin
On 2008-12-05 03:19, Chris wrote: > On Thursday 04 December 2008 3:00 am, Török Edwin wrote: > > >>> if (/main\.(?:cld|inc).+\(version:\s(\d+),\ssigs:\s(\d+),/) { >>> >> Use 'cvd|cld' and not cld|inc or cvd|inc. >> >> > I forgot to ask about this line Edwin: > > if (/daily\.(?:cld|in

[Clamav-users] clamstats script

2010-03-05 Thread Chris
I run a script hourly that has an output of virus statistics for that hour in an html output format. The script uses a meter.jpg file that draws a line the length depending on different parameters. I previously had this working fine but has since quit apparently when I upgraded to Mandriva 2010. I'

[Clamav-users] clamstats script

2006-05-24 Thread Chris
I've downloaded a script that is supposed to output stats on virus's that clamav detects. Needless to say its not working correctly and I'm soliciting some help since I know nothing about perl. I'm sort of getting output however it doesn't show any virus's detected. I'd attach the script but

[Clamav-users] clamstats script

2006-06-04 Thread Chris
With a lot of help from various sources including the author the script almost works. I've uploaded it here: http://ez-files.net/download.php?file=0f603e13 along with the html output as it is now: http://ez-files.net/download.php?file=67835219 which is obtained by running: clamstats.pl --htm

Re: [Clamav-users] Clamstats

2006-09-26 Thread Bob Hutchinson
On Tuesday 26 September 2006 00:03, Gerard Seibert wrote: > I installed the clamstats-0.2.pl program because it was listed on this > forum recently. Prior to actually running it, I cleaned out the > clamd.log file. > > The program is producing an error message. This is the out put of one > such inc

Re: [Clamav-users] Clamstats

2006-09-26 Thread Chris
On Tuesday 26 September 2006 3:37 am, Bob Hutchinson wrote: > On Tuesday 26 September 2006 00:03, Gerard Seibert wrote: > > I installed the clamstats-0.2.pl program because it was listed on this > > forum recently. Prior to actually running it, I cleaned out the > > clamd.log file. > > > > The prog

Re: [Clamav-users] Clamstats

2006-09-27 Thread John Fleming
-- From: "Chris" <[EMAIL PROTECTED]> To: "ClamAV users ML" Sent: Tuesday, September 26, 2006 7:18 AM Subject: Re: [Clamav-users] Clamstats ___ http://lurker.clamav.net/list/clamav-users.html _

Re: [Clamav-users] Clamstats

2006-09-27 Thread Dennis Peterson
John Fleming wrote: Mine doesn't like using `localhost` or `mydomain.com` or `nn.nnn.nnn.nn` (my IP) What is wrong here?? Thanks! - John my $logfile = "/var/log/clamav/clamav.log"; my $fclogfile = "/var/log/clamav/freshclam.log"; my $host = `localhost`; The backticks are not quotes. Their

Re: [Clamav-users] Clamstats

2006-09-28 Thread Chris
On Wednesday 27 September 2006 8:38 pm, John Fleming wrote: > Mine doesn't like using `localhost` or `mydomain.com` or `nn.nnn.nnn.nn` > (my IP) > > What is wrong here?? Thanks! - John > > my $logfile = "/var/log/clamav/clamav.log"; > my $fclogfile = "/var/log/clamav/freshclam.log"; > my $host =

Re: [Clamav-users] clamstats script

2006-05-24 Thread Rick Macdougall
Chris wrote: I've downloaded a script that is supposed to output stats on virus's that clamav detects. Needless to say its not working correctly and I'm soliciting some help since I know nothing about perl. I'm sort of getting output however it doesn't show any virus's detected. I'd attach t

Re: [Clamav-users] clamstats script

2006-05-24 Thread Chris
On Wednesday 24 May 2006 5:54 pm, Rick Macdougall wrote: > Chris wrote: > > I've downloaded a script that is supposed to output stats on virus's > > that clamav detects. Needless to say its not working correctly and I'm > > soliciting some help since I know nothing about perl. I'm sort of > > get

Re: [Clamav-users] clamstats script

2006-05-24 Thread Rick Macdougall
Chris wrote: On Wednesday 24 May 2006 5:54 pm, Rick Macdougall wrote: I developed this http://newmail.axess.com/virus/ But it's only currently for Qmail/simscan (until someone wants to write a backend for another scanner). Kmail, however, its called via a plug-in for Spamassassin. I belie

Re: [Clamav-users] clamstats script

2006-05-24 Thread Chris
On Wednesday 24 May 2006 7:05 pm, Rick Macdougall wrote: > Chris wrote: > > On Wednesday 24 May 2006 5:54 pm, Rick Macdougall wrote: > >> I developed this http://newmail.axess.com/virus/ > >> > >> But it's only currently for Qmail/simscan (until someone wants to > >> write a backend for another sca

Re: [Clamav-users] clamstats script

2006-05-25 Thread ClamAV List
I developed this http://newmail.axess.com/virus/ I had install it into a FC4 box, I see the layout of the webpage but no statistics. ___ http://lurker.clamav.net/list/clamav-users.html

Re: [Clamav-users] clamstats script

2006-05-25 Thread Stephen Gran
On Wed, May 24, 2006 at 07:15:03PM -0500, Chris said: (mail reformatted so I can see the regex next to the log line) > I'm really not that familar with clamav log files, but the script is > looking for patterns in the log that it is not finding. This regular > expression test on line 96 is never

Re: [Clamav-users] clamstats script

2006-05-25 Thread Rick Macdougall
ClamAV List wrote: I developed this http://newmail.axess.com/virus/ I had install it into a FC4 box, I see the layout of the webpage but no statistics. ___ http://lurker.clamav.net/list/clamav-users.html Hi, Are you running qmail/simscan ? Are

Re: [Clamav-users] clamstats script

2006-05-25 Thread J Kvalvaag
> I developed this http://newmail.axess.com/virus/ Do you mind sharing it? Regards Joran Kvalvaag > But it's only currently for Qmail/simscan (until someone wants to write > a backend for another scanner). > Regards, > Rick ___ http://lurker.clama

Re: [Clamav-users] clamstats script

2006-05-25 Thread Rick Macdougall
J Kvalvaag wrote: I developed this http://newmail.axess.com/virus/ Do you mind sharing it? Regards Joran Kvalvaag Hi, You can find it at http://www.limelyte.com under Software, it's called virusstats. Regards, Rick ___ http://lurker.clamav

Re: [Clamav-users] clamstats script

2006-06-04 Thread Stephen Gran
On Sun, Jun 04, 2006 at 02:10:16PM -0500, Chris said: > It seems to read the freshclam.log correctly and posts the correct stats, > however, for some unknown reason it appears to not be reading the clamd.log > at all. At least its not posting any virus statistics. Can anyone see what > the prob

Re: [Clamav-users] clamstats script

2006-06-04 Thread Chris
On Sunday 04 June 2006 2:37 pm, Stephen Gran wrote: > On Sun, Jun 04, 2006 at 02:10:16PM -0500, Chris said: > > It seems to read the freshclam.log correctly and posts the correct > > stats, however, for some unknown reason it appears to not be reading > > the clamd.log at all. At least its not pos

Re: [Clamav-users] clamstats script

2006-06-04 Thread Stephen Gran
On Sun, Jun 04, 2006 at 03:25:53PM -0500, Chris said: > On Sunday 04 June 2006 2:37 pm, Stephen Gran wrote: > > You're regexes (at least in the version I downloaded) are multi-line. > > When looking at the script with gedit and line breaks off, they're all on > the same line. This is what I see:

Re: [Clamav-users] clamstats script

2006-06-04 Thread Chris
On Sunday 04 June 2006 6:27 pm, Stephen Gran wrote: > On Sun, Jun 04, 2006 at 03:25:53PM -0500, Chris said: > > On Sunday 04 June 2006 2:37 pm, Stephen Gran wrote: > > > You're regexes (at least in the version I downloaded) are multi-line. > > > > When looking at the script with gedit and line brea

Re: [Clamav-users] clamstats script

2006-06-05 Thread Nigel Horne
See also http://www.bandsman.co.uk/cgi-bin/virus/display.pl?number -Nigel ___ http://lurker.clamav.net/list/clamav-users.html