Monitore Postfix queue

Dhawal Doshy dhawal at netmagicsolutions.com
Tue May 16 19:20:19 CEST 2006


Tiago Cruz wrote:
> Hello list!
> 
> Matthias,
> The mailq binary don't work for me, and I don't know why :(
> 
> #  /.../bin-1.4.2/libexec/check_mailq -v -w 500 -c 800 -M postfix
> Couldn't match  output

Most likely a permission error.. try this:
# su - postfix -s /bin/sh
# /path/to/check_mailq -v -w 500 -c 800 -M postfix

Again, check_mailq uses "use lib  "nagios/plugins";", you might need to 
change to /directory/of/utils.pm and execute the check.

- dhawal

> John,
> I'll try do some like this, but is not perfect :)
> ls -l /var/spool/postfix/deferred/* | grep '-' | wc -l
> 
> Morten,
> Thanks guy, I'll see this "munin" package!
> 
> Very thanks to all!
> 



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