From c650e9e7309b04f5819d6074e6c4852d96b8ff9c Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Tue, 26 Aug 2008 12:37:44 +0200 Subject: [PATCH] collectd-perl(5): Document the configuration block. Signed-off-by: Sebastian Harl Signed-off-by: Florian Forster --- src/collectd-perl.pod | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod index 7cd5d72e..c3fcb108 100644 --- a/src/collectd-perl.pod +++ b/src/collectd-perl.pod @@ -11,6 +11,10 @@ collectd-perl - Documentation of collectd's C BaseName "Collectd::Plugin" EnableDebugger "" LoadPlugin "FooBar" + + + Foo "Bar" + =head1 DESCRIPTION @@ -36,6 +40,16 @@ causes the Perl-interpreter to be initialized. Prepends IB<::> to all plugin names loaded after this option. This is provided for convenience to keep plugin names short. +=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