Commit Graph

61 Commits

Author SHA1 Message Date
Deirdre O'Connor 2a9e670841 Gnocchi documentation update with correct URL.
Updated outdated URL for Gnocchi github repo.
Closes-Bug: #1746095

Change-Id: I7e31406962de21815b48fffd3a421216ea34126c
2018-01-30 13:01:17 +00:00
Zuul f6364d6b3f Merge "[doc] Remove the collectd-openstack-plugins alarms section in the heat scaling guide" 2017-11-15 09:37:46 +00:00
rajat29 682ffbb438 [doc] Remove the collectd-openstack-plugins alarms section in the heat scaling guide
* Also removed the sample template threshold.yaml

Change-Id: I2c18bf8edd87a2fe7489a3916518a5eb3407148c
closes-bug: #1729903
2017-11-15 09:25:06 +00:00
Pierre Riteau 681030bb05 Fix typo in package installation command
Change-Id: I1ac351910cd36df8cb19b40d21898d5a2e7c6f1a
2017-11-14 18:50:41 +00:00
Jenkins 7089299f8c Merge "Removing vagrant support" 2017-08-29 15:05:51 +00:00
rajat29 eef5c8dce0 Inconsistent capitalization on Gnocchi, Aodh, OpenStack in docs
Docs use inconsistent capitalisation of Gnocchi, Aodh, OpenStack, etc.
Ref: https://docs.openstack.org/contributor-guide/writing-style/openstack-components.html

Change-Id: Ia1ea04d4cf45e33f0257226e09e5a4da5275c4ad
Closes-Bug:#1708667
2017-08-29 03:51:49 +00:00
Mark O'Neill ef5ca1ab76 Removing vagrant support
Vagrant support is untested and unused.
Closes-Bug: #1710856

Change-Id: Iac795b092f25c0a0d062589ae965921cbdc0ab99
2017-08-28 16:19:38 +01:00
Jenkins d474b8ba68 Merge "Fix inconsistencies in usage.rst" 2017-08-17 17:09:36 +00:00
Jenkins 0ef1e1bda6 Merge "Multi-node deployment configuration" 2017-08-17 16:53:28 +00:00
Helena McGough 07ae3f81ba Multi-node deployment configuration
- Automated the required configurations for the collectd.conf file
 - Enables the virt and network plugins
 - Included a MULTI_NODE_DEPLOYMENT configuration option for this change
 - This is only enabled when the libvirt.py file is not in use
 - Provided instructions on how to deploy multi-node

Change-Id: I151e318074250b94dbef247e6858c78086fcd362
2017-08-16 12:12:13 +01:00
Hangdong Zhang fde7ba8bfb Update URLs in documentation
Update URLs according to OpenStack document migration
BTW: Do some optimization as well (http -> https)

Change-Id: Ie9cc2c831186cd4dbbde08973032aece20540fc2
2017-08-16 09:34:37 +08:00
Emma Foley 8b016ca204 Fix inconsistencies in usage.rst
- Config options need to be headings
- 1 blank line between description and default
- 2 blank lines between each entry
- Order config options alphabetically

Change-Id: I9d9d73c15e73fe282ddc87e17ff19693a46db831
2017-08-15 17:42:46 +00:00
Elizabeth Burke d256ab054a Deleting ceilometer from the repository
-remove Collectd_Ceilometer folder
-remove Ceilometer specific unit tests
-Remove mentions in devstack, doc, and etc folders
-Substitute refereces of Ceilometer with Gnocchi/Aodh

Closes-Bug: #1710855
Change-Id: I210ca8182c489c4f90a6521b1b7fd6f8a391e602
Signed-off-by: Elizabeth Burke <elizabeth.burke@intel.com>
2017-08-15 16:00:14 +00:00
Jenkins 625aa325ec Merge "Fix plugin logging" 2017-08-14 15:20:14 +00:00
Helena McGough 7ef22179fa Deprecated the libvirt meter
- Libvirt meter is only enabled if configured
 - Added deployment code
 - Included a reno
 - Updated doc/source/usage.rst
 - Updated unit tests

Change-Id: Ia4eb566e087ff341505896534296e7afd338f98b
2017-08-14 11:38:33 +00:00
Jenkins b24bb7cee8 Merge "Update docs to include Aodh and Gnocchi" 2017-07-26 16:26:00 +00:00
Jaroslav Safka f903de3f10 Fix plugin logging
Fix logging of debug, info and warning levels.
Also configuration parameter VERBOSE is working again.

fixes problems:
* VERBOSE parameter can be changed at runtime
* Initial log level was unset, then there was nothing logged lower than
exception level. (for example configuration dump was not logged)
* Initial VERBOSE was set to True, then it was too much verbose. And
this flag was mean to be used for debugging problems.

NOTE: real log level is driven by collectd configuration, not by plugin
config.

Change-Id: Ia7048ccb74f27a5d5885b9c0bda17d6fba603e9b
Closes-Bug: #1664973
2017-07-19 09:32:41 +00:00
Emma Foley e63e7cafab Update docs to include Aodh and Gnocchi
README.rst:
* Updated introductory paragraph to include gnocchi and aodh
* Updated features list to include gnocchi and aodh features

doc/source/GSG.rst:
* Updates collectd installation instructions
* Updates intro to configuring collectd as a service
* Updates packages to be installed
* Updates installation and configuration for plugins
* Updates verification steps for ceilometer, aodh and gnocchi

Change-Id: I43698ea898bb990f163efc938ef6bbbec1e16b58
2017-07-13 17:36:26 +00:00
Helena McGough 1437e06bf1 Make alarm severity configurable
- Enabled the user to configure the severity of alarms triggered
   by metrics/meters
 - Provided/Updated documentation for this changea
 - Included all of the necessary tests for this change
 - Included a reno for this change

Change-Id: Icefe2edf7695c4a8b3d5838844e2514b9876967f
2017-06-30 10:04:57 +00:00
Jenkins e64fbd519f Merge "Added a delete tool for alarms" 2017-05-19 11:12:42 +00:00
Helena McGough 035bcbba47 Created a tool to delete metrics
- Provided the delete metrics tool
 - Provided instructions for tool in devStackGSG.rst

Change-Id: I7921687c2ebde4a90a1a101c39d1f1561b90b5d9
2017-05-17 10:16:51 +00:00
Helena McGough 10658a9c87 Added a delete tool for alarms
- Provide a tool to delete alarms
  - Updated instructions for deleting alarms
  - Included a reno for this change

Change-Id: If89aeb073e0e0c09480e0838e565ee83b9f8d63e
Partial-Bug: #1672296
2017-05-17 09:44:02 +00:00
Jenkins 7382ea3314 Merge "Fixed documentation formatting" 2017-05-04 10:25:31 +00:00
Jenkins 5e498d23b4 Merge "Add ADDITIONAL_REQS config option" 2017-05-04 10:21:03 +00:00
Helena McGough 8d711aabf6 Fixed documentation formatting
Fixed rendering, typos and alignment

Change-Id: Ib9425fe1b94634287e45b4a225cf8d74cb8745e2
Closes-bug: #1684121
2017-05-04 10:15:39 +00:00
Helena McGough b440d42780 Created a guide for writing heat templates to enable auto-scaling.
- Utilises the metrics/meters created by the ceilometer/gnochhi plugins.
  - Added in some sample templates.

Change-Id: Id6de4a6769441060178ce7344e1d63c50098f4ac
2017-04-12 12:47:29 +00:00
Jenkins 76b0752c70 Merge "Added a guide for creating Aodh alarms with new plugin meter/metrics." 2017-04-11 12:21:33 +00:00
Thaynara Silva 1868b097b2 Add ADDITIONAL_REQS config option
- Define requirements packages in settings.
   - Add COLLECTD_ADDITIONAL_PACKAGES variable.
   - User can define requirements to be installed by using the above
     variable in local.conf
   - Install system requirements and user defined requirements in
     libs/collectd.

Change-Id: If5883aa585be4c6a42e8ffbee9a59ad80de765ae
Closes-Bug: #1675120
2017-04-10 16:52:30 +00:00
Helena McGough f5bdd14b4c Added a guide for creating Aodh alarms with new plugin meter/metrics.
Change-Id: I4c976303bb4dd5d479656778ae6d0742b2d42bf9
2017-04-10 16:16:34 +00:00
Emma Foley f6c00951be Add rst heading definitions
- Add licensing headers
- Add definitions for heading markup
- Update rst files to conform to the heading definitions

Change-Id: I75a9b29dbe9b3160cd682defa79ef6a02193de04
Closes-Bug: #1673530
2017-04-10 15:38:53 +00:00
Emma Foley c046dfaa47 Add headers to usage.rst to make config headings linkable
- Config options described in usage.rst are now linkable.

Change-Id: Ibe918b28d45d0b08b36af4af89f146d0f9930131
Partial-Bug: #1673530
2017-04-10 15:31:29 +00:00
Thaynara Silva 8d6804e9db Add separate verbose config options
Add the following to allow plugin verbosity to be configured separately
  - Add COLLECTD_GNOCCHI_VERBOSE
  - Add COLLECTD_AODH_VERBOSE
  - Set both default to the same value of what
    COLLECTD_CEILOMETER_VERBOSE
  - Update documentation
  - Make changes to sample local.conf file

Change-Id: Ie072cdb42f6075860dbcb5fdab96f3f160139ec2
Closes-Bug: #1676489
2017-04-07 13:19:51 +00:00
Helena McGough 2899c9d3e5 Add deployment code for collectd-aodh-plugin
- Add code to deploy collectd-aodh-plugin with devStack.
  - Included a reno for this commit.
  - The plugin isn't enabled by default, but documentation has been
    updated to allow it's enablement.

Change-Id: I2b34b115262b92b13a6bbfb51e29802612fa0b9d
2017-03-31 15:43:45 +00:00
Thaynara Silva bb8a7a4d3d Remove specified branch in sample local.conf
Remove stable/newton as the specified branch for
collectd-ceilometer-plugin so that master is the default
branch for the example.

Change-Id: Iadda90b748d4204c7cc69035bb48696617913388
Closes-Bug: #1676783
2017-03-28 15:12:35 +00:00
Emma Foley 43d86ff1cd Add code to build collectd
- Add option to build collectd from source
  - Clones, builds and installs collectd under the source repo
- Add install_requirements function
- Add config options:
  - COLLECTD_INSTALL_TYPE
  - COLLECTD_REPO
  - COLLECTD_DIR
  - COLLECTD_BRANCH
  - COLLECTD_PREFIX
- Update documentation in doc/source/usage.rst
- Add service file for systemd
- Make sure the config dir is included

Partial-Bug: #1596966
Change-Id: I92156cf69438634c6340c21089538ff7ea716e6f
2017-03-21 15:34:52 +00:00
Emma Foley fbf2959d6e Add custom unit mapping to Gnocchi
- Add new UNIT block to sample conf.
- Configure the UNIT block for Gnocchi.
- Add a new config_units function
- Change COLLECTD_CUSTOM_UNITS to COLLECTD_CEILOMETER_CUSTOM_UNITS
- Add COLLECTD_GNOCCHI_CUSTOM_UNITS config option

Change-Id: I93088f2299ac4b5679289b1526febcf5e773be02
2017-03-10 13:30:35 +00:00
Emma Foley fc514f3f0f Add deployment code for gnocchi
- Check if gnocchi/ceilometer services are enabled
- Configures gnocchi service
- Update devstackGSG.rst to remove workaround
  - Modulepath previously needed to be changed manually
- Add COLLECTD_{CEILOMETER,GNOCCHI}_ENABLED option

Change-Id: Ic644f53b53dcdbb92eef2c8ddf7d2888fc308797
2017-03-09 16:58:16 +00:00
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