Monitore Postfix queue

Tiago Cruz tiagocruz at forumgdh.net
Tue May 16 15:08:58 CEST 2006


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 :-)

So, I know that this questions is not about nagios, is about postfix, but maybe 
some person here has the same problem and know another way to count the postfix 
queue :-)

Thanks!

-- 

Tiago Cruz
Network Administrator
Linux is like an Indian tent:
no Windows, no Gates and an Apache inside.


-------------------------------------------------------
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