24 Commits

Author SHA1 Message Date
Emma Foley
cfcdbfdfd1 Add collectd_gnocchi support
- Create a new gnocchi dir for the collectd-gnocchi plugin.
- Get gnocchi endpoint from keystone
- Add new _base_url format
- Create metrics if they don't already exist
- Add instructions to doc/source/devstackGSG.rst

Change-Id: Id7ce8130cb22f33147b7f031cd65564375db10d6
2017-01-17 09:55:32 +00:00
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
5def6f9975 Updated documentation for CEILOMETER_BACKEND
- Updated devstackGSG.rst to set CEILOMETER_BACKEND
 - Added CEILOMETER_BACKEND to local.conf.minimal
 - Added a reno for this bug fix

Change-Id: Ibbf606021a1f0dcc0db6c586e092b03df423a7a5
Closes-Bug: #1655611
2017-01-13 12:38:40 +00:00
Jenkins
336942144a Merge "Add troubleshooting guide" 2017-01-11 14:00:33 +00:00
Jenkins
2e2cec7b26 Merge "DevStack enablement of the collectd-ceilometer custom units feature" 2017-01-11 10:35:22 +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
Jenkins
7cbb59d87e Merge "Remove installation.rst" 2017-01-11 10:13:27 +00:00
Emma Foley
afb3843695 Remove installation.rst
- Remove installation.rst as the information has been superceeded
  by devstackGSG.rst and GSG.rst.

Change-Id: Iefcb16d4a657ba591e1e20e8cff8d31a6fd47c34
Closes-Bug: #1568178
2017-01-10 13:01:13 +00:00
Helena McGough
67061abdc0 Documented the manual enablement of custom units feature for collectd-ceilometer-plugin
- Updated the GSG.rst file with instructions on how to
    enable the feature.
  - Provided a reno for this documentation update.

Change-Id: I007e262f2676067ebd3bdc16dac0e26155a1f1e9
2017-01-10 09:55:38 +00:00
Emma Foley
bf32465eb1 Add troubleshooting guide
Add a trouble shooting guide for debugging common issues in your deployment

Change-Id: I8629f2a8ddf21c57878e6b09374aa4558d89e10e
2017-01-09 13:24:33 +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
Helena McGough
132158b1bb Updated Documentation
- Added Devstack GSG
 - Added sample local.conf.minimal
 - Added GSG from source

Change-Id: Ie58b99f11412627cc89916c777d700fcb80aa627
2016-12-07 17:16:23 +00:00
helena mcgough
f1355f788d Adding a getting started guide for manually building collectd
- how to prepare the system
 - install,build and configure collectd
 - install the ceilometer plugin for collectd

Change-Id: I5ce84fbe1243fa238dd16c164b7963f2b6f28bd4
2016-11-07 17:48:28 +00:00
Federico Ressi
6356c05194 Provide Vagrant configuration file.
The Vagrantfile creates a basic up-to-date VirtualBox image
with Ubuntu Server 16.04 LTS and all dependencies required
to run Tox and DevStack.

Provided Vagrantfile requires Vagrant, Virtual Box. A fast
internet connection it is recommended.

If environment variables like http_proxy, https_proxy and no_proxy
it will assume a proxy connection is required to download
archives from upload repositories. In such cases
Vagrant plugin vagrant-proxyconf is required to provide proxy
enviroment to provided virtual machine.

Closes-Bug: #1606338
Change-Id: I5fc5060d78276ec5b801118d8d6873f0071ecad9
2016-10-13 18:42:27 +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
92331ba067 Add documentation
- Update README.rst for features
- Update installation instructions

Change-Id: I9891d485ca46414367d9fca17e6ffc8f9c5ef4c6
2016-01-18 15:49:47 +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
Emma Foley
af84348370 Apply cookie cutter template.
Add some structure to the repo.
Add very bare testing infrastructure.
Add basic repo information (contact, launchpad, etc).

Change-Id: I4f5595e38f61a0298d0b6828fe64f6a5ff70eac2
2015-12-18 14:12:42 +00:00