[collectd] Bug#535787: collectd: powerdns monitoring hangs on the pdns socket (pdns 2.9.22)
sh at tokkee.org
Mon Aug 31 12:49:48 CEST 2009
tags 535787 + patch
On Sun, Aug 30, 2009 at 12:37:47PM -0700, Luke Heberling wrote:
> On Sunday 30 August 2009 05:34:00 Sebastian Harl wrote:
> > I do not expect it to collect any values either as I suspect that the
> > protocol has been changed in pdns 2.9.22.
> Found the time to investigate more thoroughly. Powerdns is wanting a newline
> character at the end of the input. My guess is that it's enforcing an existing
> protocol, not changing it. The attached patch provides the newline and also
> adds the timeout to the pdns-server socket. (The previous patch applied it
> only to the recursor).
> The patch is against the git.tokkee.org source and does not include the patch
> from earlier in the bug report.
> Tested successfully all permutations of
> pdns-server 184.108.40.206-1 / pdns-server 2.9.22-1~bpo50+1 / pdns-recursor 3.1.7-1,
> default/specific collect commands,
Thanks a lot for your work! I'll include the patch in the next upload
(either as dpatch or by using a new upstream releease - whatever happens
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/
Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090831/69cbf7dc/attachment.pgp
More information about the collectd