If I am not mistaken, you should only need to have a script that tails the current maillog. Whatever data is found goes into the RRD and RRDtool will handle aging out the historical data for you. You shouldn't need to parse the old mail log files.
http://www.zcore.net/cacti/graph.php?graphid=100&rraid=all I am using: Cacti/PHP4 RRDtool NetSaint (I added trivial code to tail/parse the maillog and support for SA) Once you have Cacti setup, it's probably the nicest frontend for RRDtool that I have yet seen. It sure beats setting up MRTG graphs or Cricket (been there, done that, got the t-shirt...) -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Russ Gilman-Hunt Sent: Tuesday, November 12, 2002 10:58 AM To: zenn Cc: spamassassin Subject: Re: [SAtalk] monitoring spamd with MRTG I recall when I was setting up analog (http://analog.cx) it would expand files that ended in .gz. You could look at the setup scripts for analog and modify the spamstats.pl file to behave in a similar fashion. As an added bonus you could post your modifications to the list. :^) -Russ On Tuesday 12 November 2002 02:05, you wrote: > No, I don't think that's such a good idea, I don't want a mailog that ends > up to large > We want the logs to be parsed even when they have been rotated so we can > retain the history.... otherwise, whats the point of the monthly or yearly > graph. > spamstats.pl needs to me modified so it can read /var/log/mailog* > > ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk