fyi: i used a perl script that couple people created sometime ago (Subhendu Ghosh/Carlos Canau/Benjamin Schmid) if you want too i can email it to you...
-ls > > >Most likely a permission error.. try this: > ># su - postfix -s /bin/sh > ># /path/to/check_mailq -v -w 500 -c 800 -M postfix > > Not is permission... I'm running as root (as postfix don't works too) :( > > >Again, check_mailq uses "use lib "nagios/plugins";", you might need to > >change to /directory/of/utils.pm and execute the check. > > Yes, is everything OK... I think that my personal postfix package is a lot > of different from what plugin want, because in a "normal" postfix of debian > the scrips works :-) > > Anyway, the fast way is use wc on queue directory, I'll do this... the > output says one or two emails more than real, but to 20.000 its ok ;) - ------------------------------------------------------- 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@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