[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mailgraph] Re: Graphs for multiple MailServers


Stefano Giraldo wrote:
> Hi ML,
> I have 4 Postfix Front-end mail servers, I would like to mount (via NFS) 
> the /var/log of each mx server on my monitoring server (which have 
> already apache & rrdtool installed) in order to view the mailgraph of 
> everyone. There's a way to do this?
> 
> I've tried to create a copy of all the files and folders created by 
> mailgraph, with a different name (mailgrah-fe1), everything, seems 
> right, the mail.log file is readable and all the permissions should be 
> ok... but for some reasons it doesn't create the .rrd files 
> /var/lib/mailgrah-fe1 but only in /var/lib/mailgraph.
> 
> I found a question like this in the ML, dated 2002, but it's not so 
> helpfull.
> 
> Thanks to everyone and regards.

Hi,

We have done exactly this by creating a number of scripts, one for each
NFS mounted log, and then start one process for each. Works fine.

/usr/bin/perl -w /usr/local/sbin/mailgraph[1-6].pl --logfile
/var/log/<host>/maillog --daemon-rrd=/var/db/mailgraph
--ignore-localhost --daemon --daemon-pid=/var/db/mailgraph/mailgraph[1-6]

-- 
BSDLabs AB
Registered in Solna, Sweden
SE5567597652

--
Unsubscribe mailto:mailgraph-request@list.ee.ethz.ch?subject=unsubscribe
Help        mailto:mailgraph-request@list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/mailgraph
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi