| {%- from "collectd/map.jinja" import client with context -%} |
| <LoadPlugin python> |
| Globals false |
| </LoadPlugin> |
| |
| <Plugin python> |
| ModulePath "/usr/lib/collectd-python" |
| LogTraces false |
| Interactive false |
| |
| {%- for plugin_name, plugin in local_plugin.iteritems() %} |
| {%- if plugin.get('plugin', 'native') == 'python' %} |
| {% include plugin.template %} |
| {%- endif %} |
| {%- endfor %} |
| |
| {%- if client.remote_collector %} |
| {%- for plugin_name, plugin in remote_plugin.iteritems() %} |
| {%- if plugin.get('plugin', 'native') == 'python' %} |
| {% include plugin.template %} |
| {%- endif %} |
| {%- endfor %} |
| {%- endif %} |
| |
| </Plugin> |