Merge pull request #6 from elemoine/stacklight-http-write
Use Node instead of URL in plugin http_write
diff --git a/collectd/files/backend/http.conf b/collectd/files/backend/http.conf
index 66401be..23cf67a 100644
--- a/collectd/files/backend/http.conf
+++ b/collectd/files/backend/http.conf
@@ -4,8 +4,9 @@
</LoadPlugin>
<Plugin write_http>
- <URL "http://{{ backend.host }}:{{ backend.port }}">
+ <Node "{{ backend_name }}">
+ URL "http://{{ backend.host }}:{{ backend.port }}"
Format "{{ backend.get('format', 'json')|upper }}"
StoreRates {{ backend.get('store_rates', True)|lower }}
- </URL>
+ </Node>
</Plugin>