X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fcollectd-perl.pod;h=9af3c0c9af759f4c76d3dc410c21b83799b90b69;hp=02563066de232a0c013859b482b8328a1a5f4301;hb=48efd3deb4c9139fd060ff3d289896e9031bcc7c;hpb=4371ef7f98f6f51ea3df34d5e26e175d6b44a328 diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod index 02563066..9af3c0c9 100644 --- a/src/collectd-perl.pod +++ b/src/collectd-perl.pod @@ -75,6 +75,20 @@ Adds I to the B<@INC> array. This is the same as using the B<-IDir> command line option or B in the source code. Please note that it only has effect on plugins loaded after this option. +=item B I + +The C used to register one flush callback (called B<"perl">) and +call all Perl-based flush handlers when this callback was called. Newer versions +of the plugin wrap the Perl flush handlers and register them directly with the +daemon I to the legacy B<"perl"> callback. This allows to call +specific Perl flush handlers, but has the downside that flushing I plugins +now calls the Perl flush handlers twice (once directly and once via the legacy +callback). Unfortunately, removing the B<"perl"> callback would break backwards +compatibility. + +This option allows you to disable the legacy B<"perl"> flush callback if you care +about the double call and don't call the B<"perl"> callback in your setup. + =back =head1 WRITING YOUR OWN PLUGINS @@ -708,7 +722,7 @@ types used by the read, write and match functions. =item * Please feel free to send in new plugins to collectd's mailing list at -EcollectdEatEverplant.orgE for review and, possibly, +EcollectdEatEcollectd.orgE for review and, possibly, inclusion in the main distribution. In the latter case, we will take care of keeping the plugin up to date and adapting it to new versions of collectd. @@ -759,18 +773,6 @@ dispatched by the perl plugin after upgrades. =back -=head1 KNOWN BUGS - -=over 4 - -=item * - -Currently, it is not possible to flush a single Perl plugin only. You can -either flush all Perl plugins or none at all and you have to use C as -plugin name when doing so. - -=back - =head1 SEE ALSO L, @@ -788,7 +790,7 @@ The C has been written by Sebastian Harl EshEatEtokkee.orgE. This manpage has been written by Florian Forster -EoctoEatEverplant.orgE and Sebastian Harl +EoctoEatEcollectd.orgE and Sebastian Harl EshEatEtokkee.orgE. =cut