X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-perl.pod;h=b8d72f06fd8605574acc5f4a5a87cb400252d85e;hb=4371ef7f98f6f51ea3df34d5e26e175d6b44a328;hp=8cdf08bb3b6807229bb4a985a5b01f74771f8378;hpb=d9ba7e3ed5d93e9abd34f961fff51676a096ac02;p=collectd.git diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod index 8cdf08bb..02563066 100644 --- a/src/collectd-perl.pod +++ b/src/collectd-perl.pod @@ -1,3 +1,5 @@ +=encoding UTF-8 + =head1 NAME collectd-perl - Documentation of collectd's C @@ -8,9 +10,13 @@ collectd-perl - Documentation of collectd's C # ... IncludeDir "/path/to/perl/plugins" - BaseName "Collectd::Plugin" + BaseName "Collectd::Plugins" EnableDebugger "" LoadPlugin "FooBar" + + + Foo "Bar" + =head1 DESCRIPTION @@ -34,7 +40,19 @@ causes the Perl-interpreter to be initialized. =item B I Prepends IB<::> to all plugin names loaded after this option. This is -provided for convenience to keep plugin names short. +provided for convenience to keep plugin names short. All Perl-based plugins +provided with the I distributions reside in the C +namespace. + +=item EB IE block + +This block may be used to pass on configuration settings to a Perl plugin. The +configuration is converted into a config-item data type which is passed to the +registered configuration callback. See below for details about the config-item +data type and how to register callbacks. + +The I identifies the callback. It is used literally and independent of +the B setting. =item B I[=I