Monitor Postfix Mail Queue

Hari Sekhon hpsekhon at googlemail.com
Tue Sep 29 10:34:15 CEST 2009


Scott Miller wrote:
> I'm trying to get Nagios to monitor a local Postfix Mail Queue, with no
> luck.  The service keeps reporting OK: Postfix mailq has 0 messages queued,
> when I know for a fact there are messages in the queue.  I'm wanting to use
> Nagios on this local machine to monitor the queue, and alarm/notify when it
> reaches a certain threshold.  I have modified the check_mailq to the
> following: (retrieved from
> http://wiki.osuosl.org/display/LNX/Nagios+Postfix+Mailq+Plugin )
>
> Still - it reports (OK: Postfix mailq has 0 messages queued), when at this
> time there are 9 messages in queue.
>
> Anyone have any luck implementing this with postfix?  If so, can anyone see
> what I'm doing wrong?  Or if anyone has a better way of doing this, I'd be
> happy to hear about it.
>   

Why don't you just use the standard check_mailq plugin?

I use that to monitor my Postfix mail queues...

-h

-- 
Hari Sekhon
http://www.linkedin.com/in/harisekhon


------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list