OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Monitor Postfix with SNMP

From: Wietse Venema (wietseporcupine.org)
Date: Fri May 02 2008 - 06:13:18 CDT


Rocco Scappatura:
> Hello,
>
> I would like to know if is there exists any Postfix-specific MIB.
>
> In particular, I would like to gather information about:
>
> - the size of Postix queues (in particular 'active' queue)
> - the average delay of a message spent inside a Postfix queue
>
> so that I can trace these values trhough a software MRTG-like.
>
> I'm running a Postfix+Amavisd-new+MySQL platform. Could I distinguish
> statistics for these services:
>
> - smtp
> - 127.0.0.1:10025
>
> ?
>
> At this time, all Postfix logs are put in a single file (/var/log/mail).
> Maybe do I need to separate the logs of "127.0.0.1:10025" services? Is
> there any way to do so? If yes, what is it?

This requires the existence of a Postfix command that provides such
information. I am sure that if someone implements such a command,
then someone will write an SNMP adapter for it.

I will oppose a feature that is accessible with SNMP only.

        Wietse