From: Sebastian Harl Date: Wed, 28 Jul 2010 20:42:23 +0000 (+0200) Subject: collectd.conf(5): Documents LoadPlugin's "Globals" option. X-Git-Tag: collectd-4.9.4~30 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=4944b8e57d6b08f0434382e64f9687e0fd1cc682;p=collectd.git collectd.conf(5): Documents LoadPlugin's "Globals" option. --- 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