aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/barometer/roles/collectd/templates/collectd-gnocchi.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/barometer/roles/collectd/templates/collectd-gnocchi.conf.j2')
-rw-r--r--plugins/barometer/roles/collectd/templates/collectd-gnocchi.conf.j240
1 files changed, 40 insertions, 0 deletions
diff --git a/plugins/barometer/roles/collectd/templates/collectd-gnocchi.conf.j2 b/plugins/barometer/roles/collectd/templates/collectd-gnocchi.conf.j2
new file mode 100644
index 00000000..b54e9d5a
--- /dev/null
+++ b/plugins/barometer/roles/collectd/templates/collectd-gnocchi.conf.j2
@@ -0,0 +1,40 @@
+<LoadPlugin python>
+ Globals true
+</LoadPlugin>
+
+<Plugin python>
+ ModulePath "/opt/stack/collectd-ceilometer-plugin"
+ LogTraces true
+ Interactive false
+ Import "collectd_ceilometer.gnocchi.plugin"
+
+ <Module "collectd_ceilometer.gnocchi.plugin">
+
+ # Verbosity True|False
+ VERBOSE False
+
+ # Batch size
+ BATCH_SIZE "1"
+
+ # Service endpoint addresses
+ OS_AUTH_URL "http://{{ internal_vip.ip }}:35357/v3/"
+
+ # Plugin address
+ CEILOMETER_URL_TYPE "internalURL"
+
+ # Plugin timeout in ms
+ CEILOMETER_TIMEOUT "1000"
+
+ # # Plugin user creds
+ OS_USERNAME "ceilometer"
+ OS_PASSWORD "{{ ceilometer_service_password }}"
+ OS_TENANT_NAME "service"
+
+ # Libvirt meter enabled
+ LIBVIRT_METER_ENABLED False
+
+ <UNITS>
+ </UNITS>
+ </Module>
+</Plugin>
+