Enable collectd monitoring.
diff --git a/metadata/service/server/support.yml b/metadata/service/server/support.yml
index c9d59d6..25aa6ba 100644
--- a/metadata/service/server/support.yml
+++ b/metadata/service/server/support.yml
@@ -4,7 +4,7 @@
backupninja:
enabled: true
collectd:
- enabled: false
+ enabled: true
heka:
enabled: false
sensu:
diff --git a/postgresql/meta/collectd.yml b/postgresql/meta/collectd.yml
new file mode 100644
index 0000000..c25734d
--- /dev/null
+++ b/postgresql/meta/collectd.yml
@@ -0,0 +1,8 @@
+{%- from "postgresql/map.jinja" import server with context %}
+{%- if server.enabled %}
+local_plugin:
+ collectd_postgresql:
+ plugin: postgresql
+ template: collectd/files/collectd_postgresql.conf
+ data: {{ server.database|yaml }}
+{%- endif %}