11 Commits

Author SHA1 Message Date
Emma Foley
4f1d999665 COLLECTD_CUSTOMIZE_UNITS -> COLLECTD_CUSTOM_UNITS
- Change the config variable name.
  - The config variable no longer references ceilometer.
  - It is now clearer that the config variable is for all plugins
  - The variable is a noun instead of a verb, so it's clearer that
    this is something to define, instead of a boolean.

- Update docs
  - Added a clarification on the format of the custom unit definition.
  - Corrected incorrect reference to COLLECTD_CEILOMETER_UNITS in
    devstackGSG.rst and usage.rst

Closes-Bug: #1656877
Change-Id: Ie688397242d57cf0fee6629fafb89afd8899a599
2017-01-16 16:18:50 +00:00
Helena McGough
606902c455 DevStack enablement of the collectd-ceilometer custom units feature
- Added deployment code for custom units enablement
      - Updated the DevStack documentation to provide instructions on
        how to enable this feature
      - Editted the collectd-ceilometer-plugin.conf file to enable the
        feature
      - Added a reno for this change

Change-Id: Ia93da4abdf066ba677dcb3ee0e44388c06d97ff5
2017-01-11 10:18:08 +00:00
Jaroslav Safka
95c0d43f19 Remove Keystone V2 API support
removing keystone v2.0 api because is no longer supported

Closes-Bug: #1614892
Change-Id: Iaeabc663990168e2d6959d8fb629234ca02128d1
2016-12-16 09:27:01 +00:00
Emma Foley
8c8e2dc0b6 Fix typo on default conf dir
/etc/collect.d -> /etc/collectd.d

Change-Id: I0c42e134d96d17493773ea7c6e43f12b94c1efc0
2016-09-21 14:47:23 +00:00
Federico Ressi
7bcd8a9e01 Restart and configure collectd log file.
When installing collectd is usually automatically started. If it is
already running, the start operation has no effects. Therfore, to make
any configuration setting effective it has to be instead restarted
(stop + start).

Collectd log file is stored by logfile plugin to stack log folder.
The actual location of this file can be configured.

Verbosity of plugin can be increased to make debug messages visible
when running inside a collectd release compiled without deubgging
support. This option is mainly useful for plugin developers.

Related-Bug: #1606338
Change-Id: I658c1c3837970f3732ea64acd791838ee54c61ac
2016-08-31 15:46:47 +00:00
Jenkins
987869d46a Merge "Added missing documentation" 2016-07-25 08:47:06 +00:00
radoslaw kuschel
ccdb19bb28 Added missing documentation
- Adding documentation for config options
- Adding contact information to README.rst

Change-Id: I966bc07071b13e93cbc3274a9ef91280117d8dba
Partial-Bug: #1568178
2016-07-22 14:50:35 +01:00
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
Emma Foley
3a4a108756 Add COLLECTD_CONF_DIR config option
Add COLLECTD_CONF_DIR config option so that a non-default config
dir can be specified for collectd.

Closes-Bug #1583282

Change-Id: Ic697b9e35f6d3b063e53dca2cb44fa24f8be3598
2016-05-30 20:25:06 +01:00
Emma Foley
fd068a8570 Adds option to disable collectd installation
Adds the COLLECTD_INSTALL option which toggles whether collectd is installed.
Defaults to True.
Should be set to False to use custom versions of collectd.

Closes-Bug #1567521

Change-Id: I8235e19ae90f6a3af21117cb07534831801d52d3
2016-04-12 14:44:17 +00:00
Emma Foley
a00f360f8f Implement plugin
Add functionality to the plugin:
- Convert from collectd data sources to Ceilometer format
- Add unit mappings for Ceilometer
- Define resource IDs
- Add unit tests

Change-Id: Ica1f49ea3c9bbc4bc857044dea7da39869b33bba
2016-01-18 15:45:47 +00:00