Re: sendmail traffic analysis

2001-05-11 Thread Mark Drayton

jack ([EMAIL PROTECTED]) wrote:
> Today Garrett Wollman wrote:
> 
> > >I'm not sure how to monitor sendmail with SNMP, and would be
> > >interested in hearing from others what tools they use to monitor
> > >SMTP traffic on their FreeBSD systems.
> >
> > Depends on what and how you want to monitor.  For BIND, I wrote a
> > little script that stuffs those annoying statistics dumps into an
> > RRD.  You could conceivably do the same thing with sendmail,
> > although you would have to collect your own stats by analyzing the
> > log files.
> 
> Or use mailstats(1).

I wrote a perl script to parse the named stats log file and return the
number of queries. These results are available via snmp by using the
'exec' feature of ucd-snmpd to call the script. I use a shell script and
snmpget(1) on my monitoring machine to collect the results and update a
rrdtool database every 5 minutes.

It would be easy to parse the output of mailstats(1) and return the
results via snmp.

Cheers,

-- 

Mark Drayton

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: sendmail traffic analysis

2001-05-11 Thread jack

Today Garrett Wollman wrote:

> >I'm not sure how to monitor sendmail with SNMP, and would be
> >interested in hearing from others what tools they use to monitor SMTP
> >traffic on their FreeBSD systems.
>
> Depends on what and how you want to monitor.  For BIND, I wrote a
> little script that stuffs those annoying statistics dumps into an
> RRD.  You could conceivably do the same thing with sendmail, although
> you would have to collect your own stats by analyzing the log files.

Or use mailstats(1).

--
Jack O'NeillSystems Administrator / Systems Analyst
[EMAIL PROTECTED] Crystal Wind Communications, Inc.
  Finger [EMAIL PROTECTED] for my PGP key.
   PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67   FD 09 E9 3C 5F CC EB CD
   enriched, vcard, HTML messages > /dev/null
--
A Microsoft Certified Systems Engineer is to computing what
a McDonalds Certified Food Specialist is to fine cuisine.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: sendmail traffic analysis

2001-05-11 Thread Garrett Wollman

In article <20010511172756$[EMAIL PROTECTED]> you write:

>I'm not sure how to monitor sendmail with SNMP, and would be
>interested in hearing from others what tools they use to monitor SMTP
>traffic on their FreeBSD systems.

Depends on what and how you want to monitor.  For BIND, I wrote a
little script that stuffs those annoying statistics dumps into an
RRD.  You could conceivably do the same thing with sendmail, although
you would have to collect your own stats by analyzing the log files.

The one place where we use SNMP to monitor sendmail is by using
ucd-snmp's process monitoring feature.  We then use Cricket to monitor
the number of sendmails active.  While this is statistically invalid
(because cricket measures every five minutes exactly) it still gives
us a useful look at what's going on.  (I just looked at my long-term
cricket graphs and learned something which was totally new to me:
there seems to be a new outbreak of the Hybris worm on the seventh day
of every month, although the population seems to have peaked last
February.)

-GAWollman

-- 
Garrett A. Wollman   | O Siem / We are all family / O Siem / We're all the same
[EMAIL PROTECTED]  | O Siem / The fires of freedom 
Opinions not those of| Dance in the burning flame
MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: sendmail traffic analysis

2001-05-11 Thread Steve Mickeler

On Fri, 11 May 2001, Arthur W. Neilson III wrote:

> Recently I setup FreeBSD 4.3 on a HP Netserver (SMP) at my workplace
> and am stoked to be using FreeBSD for a production server in a predominantly
> Microsoft oriented distributed computing environment.  It's a wonderful
> opportunity to show how well FreeBSD performs :^).   This is the first time
> I've run FreeBSD on a SMP platform, the box has two processors and
> I was wondering if top shows an aggregate cpu load or just the load on
> cpu #0.  This box will be the primary SMTP relay for our domain and I
> I'm looking for a way to measure the sendmail traffic load.  I currently use
> MRTG to monitor our Sun SPARC based systems and run ucd-snmp on
> them.  I'm not sure how to monitor sendmail with SNMP, and would be
> interested in hearing from others what tools they use to monitor SMTP traffic
> on their FreeBSD systems.
> --
> __

MRTG comes with contribs for monitoring sendmail.



Todays root password is brought to you by /dev/random

.-.
| Steve Mickeler * Network Operations |
+-+
| Neptune Internet Services   |
`-'

1024D/ACB58D4F = 0227 164B D680 9E13 9168  AE28 843F 57D7 ACB5 8D4F




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message