Monitore Postfix queue

Matthias Eble matthias.eble at mailing.kaufland-informationssysteme.com
Tue May 16 17:19:29 CEST 2006


> On Tue, 2006-05-16 at 10:08 -0300, Tiago Cruz wrote:
>> Hello guys,
>>
>> I've write a small script do monitore postfix queue using postqueue to count the 
>> number of emails on my queue:
>>
>> postqueue -p | tail -1 | cut -d " " -f 5
>>
>> The problem: Sometimes, my queue have more than 20.000 emails, and I can't count 
>> this number of emails in less then 1 minute :-)
>>
check_mailq in the the nagios-plugin distribution does sth similar.
	check_mailq - check to see how many messages are in the smtp
	queue awating transmittal.

it has support for postfix,sendmail,exim and qmail i think

hth
matthias


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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