+{%- if client.get('enabled', False) %}
+remote_plugin:
+ elasticsearch_cluster:
+ plugin: python
+ template: elasticsearch/files/collectd_elasticsearch_cluster.conf
+ address: {{ client.server.host }}
+ port: {{ client.server.get('port', 9200) }}
+{%- endif %}
+{%- endif %}