[Mimedefang] Graphdefang not graphing virus types

Joe Arnstein joe.arnstein at mci.com
Mon May 17 12:09:09 EDT 2004


Hi Jonas,

Thanks for your response.  The default 'general' file I'm using matches
up with what my log files look like, and SummaryDB.db contains
virus-type information, indicating that it is collecting that
data....not sure if it's saved as 'value1' or not.

The logs that incorporate value2 are accurate, but there is only one
value1 graph which of course didn't work.  Here is a snip from my log:

May 17 11:58:40 mailserver1 mimedefang.pl[5603]:
MDLOG,i4HG1s5B024434,virus,W32/Netsky.p at MM,68.41.153.55,<nuferm at sender.c
om>,<lunketm at recipient.com>,Mail Delivery (failure lunketm at sender.com)


        if ($text =~
m/^MDLOG,\S+?,(\S+?),(\S*?),(\S*?),(.*?),(.*?),(.*)$/ ) 
 
                        $event = $1;
                        $value1 = $2;
                        $value2 = $3;
                        $sender = $4;
                        $recipient = $5;
                        $subject = $6;
                        $FoundNewRow = 1;

Value1 should be W32/Netsky.p at MM, no?  

Joe

-----Original Message-----
From: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com] On Behalf Of Jonas
Eckerman
Sent: Friday, May 14, 2004 5:09 PM
To: mimedefang at lists.roaringpenguin.com
Subject: Re: [Mimedefang] Graphdefang not graphing virus types

On Fri, 14 May 2004 10:54:43 -0400, Joe Arnstein wrote:

>  senders of viruses show up OK, but Graphdefang generates an empty
>  .png file for the list of virus types (daily/hourly/monthly

Check your mimedefang event file (usually "event/mimedefang.pl/general"
i graphdefang's dir) and compare it's regexp matching to the log lines.

Do you get correct value1-data for other events?

/Jonas
-- 
Jonas Eckerman, jonas_lists at frukt.org
http://www.fsdb.org/


_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang



More information about the MIMEDefang mailing list