From 4944b8e57d6b08f0434382e64f9687e0fd1cc682 Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Wed, 28 Jul 2010 22:42:23 +0200 Subject: [PATCH] collectd.conf(5): Documents LoadPlugin's "Globals" option. --- src/collectd.conf.pod | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/src/collectd.conf.pod b/src/collectd.conf.pod index 2eb8d304..ec68c442 100644 --- a/src/collectd.conf.pod +++ b/src/collectd.conf.pod @@ -57,6 +57,33 @@ directory for the daemon. Loads the plugin I. There must be at least one such line or B will be mostly useless. +Starting with collectd 4.9, this may also be a block in which further options +affecting the behavior of B may be specified. The following +options are allowed inside a B block: + + + Globals true + + +=over 4 + +=item B B + +If enabled, collectd will export all global symbols of the plugin (and of all +libraries loaded as dependencies of the plugin) and, thus, makes those symbols +available for resolving unresolved symbols in subsequently loaded plugins if +that is supported by your system. By default, this is disabled. + +This is useful (or possibly even required), e.Eg., when loading a plugin +that embeds some scripting language into the daemon (e.Eg. the C +or C plugins). Scripting languages usually provide means to load +extensions written in C. Those extensions require symbols provided by the +interpreter, which is loaded as a dependency of the respective collectd +plugin. See the documentation of those plugins (e.Eg., +L or L) for details. + +=back + =item B I If I points to a file, includes that file. If I points to a -- 2.30.2