{%- set backend = salt['pillar.get']('collectd:client:backend:'+backend_name) %} | |
<LoadPlugin write_graphite> | |
Globals false | |
</LoadPlugin> | |
<Plugin write_graphite> | |
<Carbon> | |
Host "{{ backend.host }}" | |
Port "{{ backend.port }}" | |
Prefix "{{ backend.get('prefix', 'default_prd.') }}" | |
Postfix "" | |
StoreRates false | |
AlwaysAppendDS false | |
EscapeCharacter "_" | |
SeparateInstances true | |
Protocol "{{ backend.get('protocol', 'tcp') }}" | |
</Carbon> | |
</Plugin> |