This monitor runs arbitrary collectd Python plugins directly, apart from collectd. It implements a mock collectd Python interface that supports most, but not all, of the real collectd.
Monitor Type: collectd/python
Accepts Endpoints: Yes
Multiple Instances Allowed: Yes
Config option | Required | Type | Description |
---|---|---|---|
host |
no | string |
Host will be filled in by auto-discovery if this monitor has a discovery rule. It can then be used under pluginConfig by the template {{.Host}} |
port |
no | integer |
Port will be filled in by auto-discovery if this monitor has a discovery rule. It can then be used under pluginConfig by the template {{.Port}} (default: 0 ) |
moduleName |
no | string |
Corresponds to the ModuleName option in collectd-python |
modulePaths |
no | list of strings |
Corresponds to a set of ModulePath options in collectd-python |
pluginConfig |
no | map of any |
This is a yaml form of the collectd config. |
typesDBPaths |
no | list of strings |
A set of paths to types.db files that are needed by your plugin. If not specified, the runner will use the global collectd types.db file. |