MRTG
Rose, Bobby
brose at MED.WAYNE.EDU
Mon Sep 30 23:11:04 IST 2002
Yep. Do any of that text appear in your mailogs?
-----Original Message-----
From: Mike Kercher [mailto:mike at CAMAROSS.NET]
Sent: Monday, September 30, 2002 5:39 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MRTG
Hrm...that doesn't seem to be working for me...
chomp;
if (/sendmail/) {
$TotalMails += $1 if /nrcpts=(\d+),/;
next;
}
if (/mailscanner/) {
$TotalViruses += $1 if />>> Virus/i;
$TotalSpam++ if /actions are deliver/i;
}
}
close LOG;
}
Does that look like what you have?
Mike
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Rose, Bobby
Sent: Monday, September 30, 2002 4:24 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MRTG
The logging has changed so you need to change string used to the regex
the sendmail.logs.pl script. I'm currently using
/actions are deliver/I for Spam and />>> Virus/I for Viruses. So far
that seems to be correct.
-----Original Message-----
From: Mike Kercher [mailto:mike at CAMAROSS.NET]
Sent: Monday, September 30, 2002 5:06 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MRTG
They used to be before I upgraded to 4.00 When I have some time, I'll
try to figure out why it's not working anymore.
Mike
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Matt
Sent: Monday, September 30, 2002 3:59 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MRTG
> I have it running at http://bladeware.com/ I haven't tweaked it since
> moving to v4.00 so for some reason, my Spam and Virus stats are out of
> date. The mail is working though :)
I think it would be neat to have the SPAM and virus stats in the same
graph. Kind of like a T1 is graphed with upstream in one color and
downstream in another.
Matt
More information about the MailScanner
mailing list