summaryrefslogtreecommitdiffstats
path: root/plugins/barometer/roles/collectd/templates/collectd-aodh.conf.j2
diff options
context:
space:
mode:
authorramamani yeleswarapu <ramamani.yeleswarapu@intel.com>2017-10-11 17:41:52 -0700
committerYifei Xue <xueyifei@huawei.com>2017-12-07 08:45:56 +0000
commit872449f45d4b5d15beb557f7b53571bb92cf7326 (patch)
treeb3adedbaade207e94c66fbff099d7eeaf71d8920 /plugins/barometer/roles/collectd/templates/collectd-aodh.conf.j2
parent179ef51116c86a6a68a3e963ba5a02d72552b776 (diff)
Add plugin for Barometer.
Change-Id: I5049805eb4e2e2c5e2cc87772afe6650253be36c Signed-off-by: John Hinman <john.hinman@intel.com> Signed-off-by: ramamani yeleswarapu <ramamani.yeleswarapu@intel.com> (cherry picked from commit 51ce441ca60cd115d9e8a932203ccc9d3cebcf82)
Diffstat (limited to 'plugins/barometer/roles/collectd/templates/collectd-aodh.conf.j2')
-rw-r--r--plugins/barometer/roles/collectd/templates/collectd-aodh.conf.j237
1 files changed, 37 insertions, 0 deletions
diff --git a/plugins/barometer/roles/collectd/templates/collectd-aodh.conf.j2 b/plugins/barometer/roles/collectd/templates/collectd-aodh.conf.j2
new file mode 100644
index 00000000..301ba25a
--- /dev/null
+++ b/plugins/barometer/roles/collectd/templates/collectd-aodh.conf.j2
@@ -0,0 +1,37 @@
+<LoadPlugin python>
+ Globals true
+</LoadPlugin>
+
+<Plugin python>
+ ModulePath "/opt/stack/collectd-ceilometer-plugin"
+ LogTraces true
+ Interactive false
+ Import "collectd_ceilometer.aodh.plugin"
+
+ <Module "collectd_ceilometer.aodh.plugin">
+
+ # Verbosity True|False
+ VERBOSE False
+
+ # 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
+
+ <ALARM_SEVERITIES>
+ </ALARM_SEVERITIES>
+ </Module>
+</Plugin>
+