X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcollectd-python.pod;h=b382424b7b0392180219156d18de144f58043b60;hb=af6222065f1f5d8969afdde89c9f26a73e1e1690;hp=ef2e6bd3c6f9a855d6d61a058f019a7a73de88de;hpb=f0a8b7aae5aeb6c5cc1c2b8e95745927ff4f45ac;p=collectd.git diff --git a/src/collectd-python.pod b/src/collectd-python.pod index ef2e6bd3..b382424b 100644 --- a/src/collectd-python.pod +++ b/src/collectd-python.pod @@ -8,15 +8,15 @@ # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. +=encoding UTF-8 + =head1 NAME collectd-python - Documentation of collectd's C =head1 SYNOPSIS - - Globals true - + LoadPlugin python # ... ModulePath "/path/to/your/python/modules" @@ -45,12 +45,7 @@ The minimum required Python version is I<2.3>. =item B I -Loads the Python plugin I. Unlike most other LoadPlugin lines, this one -should be a block containing the line "Globals true". This will cause collectd -to export the name of all objects in the Python interpreter for all plugins to -see. If you don't do this or your platform does not support it, the embedded -interpreter will start anyway but you won't be able to load certain Python -modules, e.g. "time". +Loads the Python plugin I. =item B I @@ -534,9 +529,12 @@ your callback, not even None. I is an optional identifier for this callback. The default name is B.I. I is taken from the B<__module__> attribute of your callback function. Every callback needs a unique identifier, so if you -want to register the same callback multiple time in the same module you need to -specify a name here. Otherwise it's save to ignore this parameter I -is the full identifier assigned to this callback. +want to register the same callback multiple times in the same module you need to +specify a name here. Otherwise it's safe to ignore this parameter. + +=item + +I is the full identifier assigned to this callback. =back