Monitore Postfix queue
morten
morten.bekkelund at ergo.no
Tue May 16 17:10:18 CEST 2006
"munin" has a script for this called "postfix_mailqueue"
You could always get that and make a wrapper for it ...
Then maybe run it on the postfix server using net-snmps exec function so
you can query it from your nagiosserver via check_snmpp :)
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 :-)
>
> 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!
>
-------------------------------------------------------
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