Wednesday, April 2, 2003, 9:50:33 AM, [EMAIL PROTECTED] wrote:

> Hi all,
> I have an mrtg server already set up monitoring all our connections and I'd
> like to add in monitoring of the postfix server stats. I got the perl scrips
> from http://taz.net.au/postfix/mrtg/ and modified them slightly to meet my
> needs (here are my mods: http://www.brooks-planck.org/mrtg). What I need now
> is the ability to run the mrtg-mailstats.pl from the mrtg server and have it
> collect the data saved in the /tmp/stats.db file. My guess is that I'll have
> to modify the scripts some more so that they rcp the stats to the mrtg
> server or something like that. Since I already have a mrtg server I don't
> want to set up the postfix server to be doing that as well so my question is
> has anyone else done this and have a working setup they can share or tips on
> this.

How about sftp'ing or rsync'ing over ssh the file from the postfix server to
your mrtg server?  Also, you may want to take a look at mailgraph:
http://people.ee.ethz.ch/~dws/software/mailgraph/

If you search the postfix-users list there's also a script similar to
mailgraph that also uses rrdtool to show the number of files in your postfix
incoming/active/deferred queues.


-- 
Chris Scott
Host Orlando, Inc.
http://www.hostorlando.com/


Reply via email to