Folks,
I quickly whacked together a Daily Status Report script for
Mailman (using Bourne shell, not Python ;), and thought that other
folks might be interested in seeing it.
The basic concept is a program that gets fired off at 23:59 every
night, and goes through a variety of log files looking for entries
specific to that date, and indicating problems or certain types of
activity that might be of interest to someone trying to administer
the server. It also does an "ls -la" of /usr/local/mailman/qfiles/*,
so that you can see what is in the queue at the time of the running
of the script.
My concept was that this daily report would get e-mailed to the
admin, or posted to a "reports" mailing list, where they could be
archived and kept for future reference.
The script does not (yet) do any statistics calculations, although it
should be relatively easy to hack together some basic stats using
awk, sort, etc....
Anyway, I thought I'd share it and let folks take a look at it, and if
anyone has any recommended improvements, we can incorporate
those and share them back out with everyone.
The code is written under a BSD-style license, so if you don't want
to contribute any changes back to me, that's okay. Of course, I
would prefer that you did, but I leave the choice up to you.
Nobody/Anonymous
list administration
Mailman 2.1
Public
|
Date: 2009-04-19 18:43 Here you are a patch to insert the hostname in the report title and Subject |
|
Date: 2009-03-17 20:16 It would be nice if this only generated output when it found a problem. |
|
Date: 2008-12-09 01:32 Posted version 0.0.19 which corrects a minor error in the 'posts from |
|
Date: 2008-07-03 19:02
|
|
Date: 2008-01-04 02:38
|
|
Date: 2008-01-03 19:34
|
|
Date: 2008-01-03 17:33
|
|
Date: 2007-01-13 07:32
|
|
Date: 2006-01-26 01:55 Logged In: YES |
|
Date: 2005-11-06 18:25 Logged In: YES |
|
Date: 2005-10-19 08:23 Logged In: YES |
|
Date: 2005-09-22 23:17 Logged In: YES |
|
Date: 2005-09-11 02:22 Logged In: YES |
|
Date: 2005-09-11 02:16 Logged In: YES |
|
Date: 2005-09-06 14:06 Logged In: YES |
|
Date: 2005-02-22 20:10 Logged In: YES |
|
Date: 2005-02-22 15:22 Logged In: YES |
|
Date: 2005-02-16 08:15 Logged In: YES |
| Filename | Description | Download |
|---|---|---|
| mmdsr | mmdsr -- version 0.0.18 | Download |
| mmdsr.readme | mmdsr readme | Download |
| mmdsr | mmdsr -- version 0.0.15 | Download |
| mmdsr | mmdsr -- version 0.0.16 | Download |
| mmdsr | mmdsr -- version 0.0.17 | Download |
| mmdsr | mmdsr -- version 0.0.19 | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 304613: mmdsr | 2008-12-09 01:31 | msapiro |
| File Added | 283566: mmdsr | 2008-07-03 19:02 | msapiro |
| File Deleted | 260669: | 2008-01-04 02:38 | msapiro |
| File Added | 260722: mmdsr | 2008-01-04 02:38 | msapiro |
| File Added | 260669: mmdsr | 2008-01-03 19:34 | msapiro |
| File Added | 260650: mmdsr | 2008-01-03 17:33 | msapiro |
| File Added | 164941: mmdsr.readme | 2006-01-26 01:53 | shub |
| File Added | 164940: mmdsr | 2006-01-26 01:51 | shub |
| File Deleted | 150070: | 2006-01-26 01:47 | shub |
| File Added | 150070: mmdsr | 2005-09-22 23:10 | shub |
| File Deleted | 148207: | 2005-09-22 23:07 | shub |
| File Added | 148207: mmdsr | 2005-09-06 14:04 | shub |
| File Deleted | 120160: | 2005-09-06 14:03 | shub |
| File Added | 120160: mmdsr | 2005-02-15 20:14 | shub |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use