4 INSTALL_HOME=/opt/collectd-ceilometer
11 CEILOMETER_URL_TYPE=${CEILOMETER_URL_TYPE:-internalURL}
12 CEILOMETER_TIMEOUT=${CEILOMETER_TIMEOUT:-1000}
14 rm -rf $INSTALL_HOME; mkdir -p $INSTALL_HOME
16 curl http://$HOST:8080/plugins/fuel-plugin-collectd-ceilometer-0.9/repositories/ubuntu/collectd-ceilometer.tgz | tar xzvf -
18 cat << EOF > /etc/collectd/collectd.conf.d/collectd-ceilometer-plugin.conf
24 ModulePath "$INSTALL_HOME"
27 Import "collectd_ceilometer_plugin"
29 <Module collectd_ceilometer_plugin>
37 # Service endpoint addresses
38 OS_AUTH_URL "$OS_AUTH_URL"
42 CEILOMETER_URL_TYPE "$CEILOMETER_URL_TYPE"
44 # Ceilometer timeout in ms
45 CEILOMETER_TIMEOUT "$CEILOMETER_TIMEOUT"
47 # # Ceilometer user creds
48 OS_USERNAME "$OS_USERNAME"
49 OS_PASSWORD "$OS_PASSWORD"
50 OS_TENANT_NAME "service"