Mail Queue monitor?

Daniel Maher daniel.maher at
Wed Aug 16 16:54:49 IST 2006

If you've already got SNMP deployed, you can query it using any number of open source network monitoring tools (such as Nagios or Big Brother).

In order to obtain the result in the first place, though, you'll need a script to generate a number that SNMP can report.  Consider the attached script, in fact, which can check either the "hold" or "incoming" queues, as you like.

 °v°  Daniel Maher
/(_)\ Administrateur Système Unix
 ^ ^  Unix System Administrator
Sentio aliquos togatos contra me conspirare.

> -----Original Message-----
> From: mailscanner-bounces at [mailto:mailscanner-
> bounces at] On Behalf Of Rob Morin
> Sent: August 16, 2006 11:22 AM
> To: MailScanner discussion
> Subject: Mail Queue monitor?
> Is ther a script i can use to monitor teh mail queue on my postfix
> system, and i fits over a certain amount email me or page me....
> So every 5  or 10 mins this script would run and if the email in the
> queue is over 100 send an email to a pager...
> I guess i would have to run this command from an external machine via
> ssh as i figure if i run it locally and the queue is big i would never
> get the email?
> :)
> Thanks...
> --
> Rob Morin
> Dido InterNet Inc.
> Montreal, Canada
> Http://
> 514-990-4444
> --
> MailScanner mailing list
> mailscanner at
> Before posting, read
> Support MailScanner development - buy the book off the website!
-------------- next part --------------
A non-text attachment was scrubbed...
Type: application/octet-stream
Size: 442 bytes
Url :

More information about the MailScanner mailing list