[Pkg-nagios-devel] Bug#587590: Bug#587590: nagios-plugins-basic: Please add the attached patch for faster checking of Postfix queues

Jan Wagner waja at cyconet.org
Wed Jun 30 09:24:25 UTC 2010


Hi Russell,

On Wednesday 30 June 2010 05:26:53 Russell Coker wrote:
> The "mailq" command reads the headers of each message, if there are many
> thousands of messages that can regularly take long enough to cause a
> timeout.
>
> The following patch (against version 1.4.12-5) adds a new option -M
> postfix-fast to use find instead of mailq, it usually runs about 1,000
> times faster!
>
> The same bug appears to be present in 1.4.14-5, I will make and test a
> patch for that shortly and update this bug report accordingly.

thanks for your bugreport. From my side, I wouldn't love to carry this kind of 
patch over long time, without getting it applied upstream. So we need to get 
it into there first. I asked Ton about integration and he requests two things 
as requirements, which sounds reasonable for me:

* find/wc needs converted to pure perl (using File::Find which is part of core 
perl)
* postfix paths should be discovered/configurable by ./configure

So if the patch fits this, I would happily forward it to upstream and if it 
gets accepted into SCM, I will apply it to the package asap.

Thanks and with kind regards, Jan.
-- 
Never write mail to <waja at spamfalle.info>, you have been warned!
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ 
------END GEEK CODE BLOCK------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20100630/c4a1701b/attachment.pgp>


More information about the Pkg-nagios-devel mailing list