From 5c3e14a2937c7b1b14e6377b1285a36815ca5111 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 28 Jul 2010 22:42:48 +0200 Subject: [PATCH] collectd-perl(5): Mention that "Globals" should be enabled. --- src/collectd-perl.pod | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/collectd-perl.pod b/src/collectd-perl.pod index 56370533..5c11b652 100644 --- a/src/collectd-perl.pod +++ b/src/collectd-perl.pod @@ -4,7 +4,9 @@ collectd-perl - Documentation of collectd's C =head1 SYNOPSIS - LoadPlugin perl + + Globals true + # ... IncludeDir "/path/to/perl/plugins" @@ -25,6 +27,12 @@ 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 -- 2.11.0