X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fcollectd-perl.pod;h=d4137bb751cc9259a3af4e07d0a69eb384dedf53;hb=f86731f4fca466e89453b02bf185730e7d547898;hp=9a52972d7c4b6d8245f30e3b45f89113483122d6;hpb=624b4290554114a61a49a4c00e5f867b6b55f773;p=collectd.git diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod index 9a52972d..d4137bb7 100644 --- a/src/collectd-perl.pod +++ b/src/collectd-perl.pod @@ -1,12 +1,12 @@ +=encoding UTF-8 + =head1 NAME collectd-perl - Documentation of collectd's C =head1 SYNOPSIS - - Globals true - + LoadPlugin perl # ... IncludeDir "/path/to/perl/plugins" @@ -27,12 +27,6 @@ for collectd in Perl. This is a lot more efficient than executing a Perl-script every time you want to read a value with the C (see L) and provides a lot more functionality, too. -When loading the C, the B option should be enabled. -Else, the perl plugin will fail to load any Perl modules implemented in C, -which includes, amongst many others, the B module used by the plugin -itself. See the documentation of the B option in L -for details. - =head1 CONFIGURATION =over 4 @@ -208,7 +202,7 @@ layout looks like this: { values => [123, 0.5], time => time (), - interval => $interval_g, + interval => plugin_get_interval (), host => $hostname_g, plugin => 'myplugin', type => 'myplugin',