radoslaw kuschel 251cb0f6ee Make sure the collectd config dir exists
* Adding fuction to check if collectd config folder exists, and create
    the folder if it doesn't.

Change-Id: I87d2e233d6db7db083aa6795037f9e73fe708b80
Closes-Bug: #1596971
2016-07-22 13:49:18 +00:00

816 B

Usage

To use collectd-ceilometer-plugin in collectd:

Python plugin must be enabled in collectd

collectd must be started
(ex: systemctl start collectd)

local.conf settings

COLLECTD_CONF_DIR

(directory) Specify a directory where collectd conf files reside. This is required if you use a distro other than Ubuntu or Fedora, or if the config file is in a non default location. This config directory will be created if it doesn't already exist. Default: /etc/collectd/collectd.conf.d (Ubuntu) /etc/collect.d (Fedora)

COLLECTD_INSTALL

(True|False) Indicates whether to install collectd from package manager. Set this to False if you are running a custom collectd build or do not want to upgrade installed version. Default: True