|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Anton Yuzhaninov (citrin
rambler-co.ru)
Date: Mon Mar 10 2008 - 11:28:36 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 05.03.2008 4:26, C Thala wrote:
> We had one of our 4 incoming mail servers get "stuck" for whatever
> reason and queue up mail for a couple of hours before we noticed.
>
> Sort of our fault, we use Nagios but didn't set anything up to check
> mail other than the basic "check if port 25 is open".
>
> Apart from "postqueue -p", does Postfix have any built in mechanisms
> to admin the queue? Or should I use a third party product or whip up
> my own script?
I use find to monitor postfix queue size:
find /spool/postfix/active -type f | wc -l
find /spool/postfix/incoming -type f | wc -l
find /spool/postfix/deferred -type f | wc -l
result uses to plot graph using rrdtool, like this:
http://citrin.ru/tmp/pq/
find adds load to disk but it is better than have no monitoring
--
WBR,
Anton Yuzhaninov
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]