On Fri, 14 Mar 2003, Gre7g Luterman wrote:

> On Fri, 14 Mar 2003 12:31:14 -0500 (EST), Chris Hardie
> <[EMAIL PROTECTED]> wrote:
>
> > Greetings.  I'm interested in being able to view some statistics about
> > TMDA and the magic it works in a given time period.  Wanted to see what
> > you folks think about the idea.
>
> If you're lazy, like me, you might consider doing this with simple
> shell commands.  Most of this is easily done.
>
> <snip>
>
> It wouldn't take a rocket scientist to set up a cron job that dumps
> this in a file every day.  If you don't care about pretty, then it's
> pretty easy.  <winks>

I'm fully aware that one can get the information using existing Unix
reporting tools, I think we're agreeing that it would be a useful tool to
have.  I'm proposing the creation of a user-friendly command line tool
that would allow at least a minimal amount of user interaction.  This
would require more than a series of greps and wcs (i.e what if I have
multiple whitelists, what if I want to know the stats for Monday only,
etc.).

The related problem space that presented itself was getting data about
TMDA's behavior into a data structure that could be manipulated for other
purposes.  Right now it's dumped out to a log, and so anyone who wants to
work with this data is constrained by the format of the log file (unless
they muck with MessageLoggger.py).  I'll admit that I may be the only one
interested in pursuing this, but I thought it worth piping up to see who
else might be out there.

> > Even cooler, but not as practical, would be stuff like:
> >
> > -Min/Avg/Max times between confirm requests and confirmations received
> > -Number of distinct senders / subject lines
> > -Number of "hits" on each whitelist / blacklist
>
> Bleah.  I think you'd want to write some Python code for that sort of
> stuff.

I'll avoid the potential holy war that my natural Perl[1]-oriented
response might bring about.  There's enough petty conflict happening in
the world.  :)

Chris

[1] Practical Extraction and Report Language
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to