OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: monitoring sevreal postfix serevrs.

From: Patrick Chemla (patrick.chemlaperfaction.net)
Date: Tue Apr 27 2010 - 07:20:33 CDT


Le 27/04/2010 10:54, Patrick Ben Koetter a écrit :
> * Israel Garcia<igalvarezgmail.com>:
>
>> > I have about 20 debian servers send all mail through a loadbalancer
>> > (haproxy) with 2backend smarthosts which send emails to internet. I
>> > have pflogsumm running only on every smarhost. As every smarthost see
>> > on IP source (haproxy) I can not get email stats from every debian
>> > server. Questions: How can I get email stats of my servers in this
>> > scenario?
>>
> Send log from all nodes to a central log server. Use rsyslogd with RELP to get
> reliability. Use rsyslog log templates to cut down on bandwidth usage if
> Postfix log is to verbose.
>
I am also running a big number of servers. To avoid heavy load on the
network and on the central server processing a huge amount of data, I
wrote a script on each node to extract statistics and send a very small
amount of data to the central server with exactly what I want to monitor.
Then this one as just to generate graphs. I am using munin.
Patrick