Skip to content

Latest commit

 

History

History
35 lines (18 loc) · 1.47 KB

collectd-python.md

File metadata and controls

35 lines (18 loc) · 1.47 KB

collectd/python

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

Monitor Source Code

Accepts Endpoints: Yes

Multiple Instances Allowed: Yes

Configuration

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.