diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-12-08 16:56:44 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-12-08 16:56:44 +0100 |
commit | b4deb45870fe9ae8bcbbe9278cdf09cf9579ee69 (patch) | |
tree | 2aef2be15ee9e659e5252a6c647dab39880da408 /roles/monitoring/graphite/carbon/templates/storage-schemas.conf.j2 | |
parent | collectd: add graphite and prometheus role (diff) |
add role for graphite carbon-cache
Diffstat (limited to 'roles/monitoring/graphite/carbon/templates/storage-schemas.conf.j2')
-rw-r--r-- | roles/monitoring/graphite/carbon/templates/storage-schemas.conf.j2 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/monitoring/graphite/carbon/templates/storage-schemas.conf.j2 b/roles/monitoring/graphite/carbon/templates/storage-schemas.conf.j2 new file mode 100644 index 00000000..afa0f5eb --- /dev/null +++ b/roles/monitoring/graphite/carbon/templates/storage-schemas.conf.j2 @@ -0,0 +1,11 @@ +# {{ ansible_managed }} +# +# Schema definitions for Whisper files. Entries are scanned in order, +# and first match wins. This file is scanned for changes every 60 seconds. +{% for schema in graphtie_carbon_storage_schemas %} + +[{{ schema.name }}] +{% for name,value in schema.options.items() | sort(attribute='0') %} +{{ name }} = {{ value }} +{% endfor %} +{% endfor %} |