projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10ad90
)
add Import configuration option to collectd-python documentation
author
Tyler Harper
<tyler.harper@rockwellcollins.com>
Thu, 1 Nov 2018 12:01:22 +0000
(08:01 -0400)
committer
Tyler Harper
<tyler.harper@rockwellcollins.com>
Thu, 1 Nov 2018 12:01:22 +0000
(08:01 -0400)
src/collectd-python.pod
patch
|
blob
|
history
diff --git
a/src/collectd-python.pod
b/src/collectd-python.pod
index
1f46f6f
..
3e44d54
100644
(file)
--- a/
src/collectd-python.pod
+++ b/
src/collectd-python.pod
@@
-126,6
+126,13
@@
normally and spawning processes from Python will work as intended.
=back
+=item B<Import> I<Name>
+
+Imports the python script I<Name> and loads it into the collectd
+python process. If your python script is not found, be sure its
+directory exists in python's B<sys.path>. You can prepend to the
+B<sys.path> using the B<ModulePath> configuration option.
+
=item E<lt>B<Module> I<Name>E<gt> block
This block may be used to pass on configuration settings to a Python module.