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

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 for

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 also?

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

[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 Update

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

2006-09-27 Thread John Fleming
] To: ClamAV users ML clamav-users@lists.clamav.net Sent: Tuesday, September 26, 2006 7:18 AM Subject: Re: [Clamav-users] Clamstats ___ http://lurker.clamav.net/list/clamav-users.html ___ http

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-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

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 program is

[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

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

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 posting

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 breaks off,

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 ?

Re: [Clamav-users] clamstats script

2006-05-25 Thread J Kvalvaag
snip 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 ___

Re: [Clamav-users] clamstats script

2006-05-25 Thread Rick Macdougall
J Kvalvaag wrote: snip 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 ___

[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

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

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 getting

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

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 scanner).