Where does Collectd store its plugins by default? I am missing a perl plugin and I want to make sure its not because the installation was hosed.
The plugin location is configured using the directive PluginDir in collectd.conf.
The default (compiled in) location can be queried using the builtin help:
$ collectd -h
Usage: collectd [OPTIONS]
[...]
Builtin defaults:
[...]
Plugin directory /usr/lib/collectd
[...]
This is for the plugins written in C. You are referring to a perl plugin, so this applies to perl.so, which is the perl interpreter plugin itself. If you were asking about the location of the perl (*.pm) files, then it's your perl policies that apply (i.e. @INC). If you need to force the standard perl module location, you can use the IncludeDir directive inside your <Plugin perl> block
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With