summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d95caf2)
raw | patch | inline | side by side (parent: d95caf2)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 20 May 2007 15:06:56 +0000 (17:06 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Sun, 20 May 2007 15:06:56 +0000 (17:06 +0200) |
debian/README.Debian | patch | blob | history |
diff --git a/debian/README.Debian b/debian/README.Debian
index 6fbb479bedfa49369f4b5251ca8fa7652f68060f..f7acbe1725f438ffb210aebe9528abf3dab2808d 100644 (file)
--- a/debian/README.Debian
+++ b/debian/README.Debian
- If you want to contribute plugins to the official distribution you should
read http://collectd.org/dev-info.shtml.
-- If you want to build plugins for your personal use only simply install the
+- If you want to build C plugins for your personal use only simply install the
collectd-dev package and use /usr/share/doc/collectd-dev/examples/myplugin.c
as a starting point (Note: This is already a working example, though it does
not collect any useful data).
Restart collectd and you're done.
+- The collectd-dev package also provides an example Perl plugin that can be
+ used as a starting point for your own development. It can be found in
+ /usr/share/doc/collectd-dev/examples/MyPlugin.pm (Note: This is already a
+ working example, though it does not collect any usefull data).
+
+ To enable the plugin, copy it to a place where Perl can find it (i.e. a
+ subdirectory named "Collectd/Plugin" of a directory listed in @INC) and add
+ the following line to the perl plugin section in your config file:
+
+ LoadPlugin "Collectd::Plugin::MyPlugin"
+
+ or
+
+ BaseName "Collectd::Plugin"
+ LoadPlugin MyPlugin
+
+ Restart collectd and you're done.
+