[collectd] Plugin table - unixsocket support.

Alexander Golovko alexandro at ankalagon.ru
Mon Dec 9 09:29:33 CET 2013


Hi.

Plugin "table" support retrieving status only from regular files or
pipes, but can't work with unixsocket. There is a patch for add stream
unixsocket support into plugin.

Service can reply not immediately to unixsocket and plugin table will
blocked until it reply. This problem actual for slow network fs too. So
there is another patch which register separate read callback for each
table.

It is not very well tested, but work for me.

It will be also great for specify rows by number or by regex, but it is
not very urgent for me, so no patch.


-- 
with best regards,
Alexander Golovko
email: alexandro at ankalagon.ru
xmpp: alexandro at ankalagon.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-table-plugin-unixsocket-support.diff
Type: text/x-patch
Size: 1468 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20131209/6b3f53d4/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: collectd-table-plugin-read-callback-per-table.diff
Type: text/x-patch
Size: 1334 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20131209/6b3f53d4/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20131209/6b3f53d4/attachment-0001.pgp>


More information about the collectd mailing list