blob: d39f4a4a49a04c34e15607064957a6a22fcce433 [file] [log] [blame]
{%- 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>