Commit Graph

15 Commits

Author SHA1 Message Date
Emma Foley b5cb3b4158 Rename module collectd_ceilometer->collectd_openstack
Rename the module to fit with the repo rename

Change-Id: I8f3c5a3d1f481a82d742b0b00a52a6d78d76630d
2017-10-19 08:31:14 +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
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
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
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 0e50513e0e Merge "Created the collectd-aodh-plugin" 2017-03-21 15:56:34 +00:00
Helena McGough 1933ec8f29 Created the collectd-aodh-plugin
- Provided code that creates the collectd-aodh-plugin. Aodh alarms
    are created based on collectd notifications. Event alarms are
    created.
  - Included a .conf file for this change.
  - Added changes to the base.py file for the meters to facilitate
    this change.
  - Included a reno for this change.
  - Included tests for this change.

Change-Id: I7db01df69104aded199a8c43e8c7b433ff549763
2017-03-20 09:56:00 +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
Jaroslav Safka 9b2bcf893e Fix duplicit collectd logging
Decrease syslog verbosity when file logging is enabled.

Change-Id: If2c53556914cdc15e6442a264c44c7b9404838e8
Closes-Bug: #1644476
2017-02-14 12:39:21 +00:00
Emma Foley 2e690a324c Add example gnocchi file
- Add a sample collectd-gnocchi-plugin.conf

Change-Id: Ie7997d0c4b35964002693ea0cc83d66372b56191
2017-01-17 09:55:32 +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
Emma Foley 53bd946ff7 Refactor directory structure for multiple plugins
- Add collectd_ceilometer.ceilometer dir
- Add collectd_ceilometer.common dir
- Move test files to collectd_ceilometer/tests/{ceilometer,common}
- Add base code to collectd_ceilometer/tests

Change-Id: I5bd0a8cfe8eb55407f3d6827c0bb4b509dae8c8c
2016-12-05 18:07:32 +00:00
Emma Foley 3e98d4f26a Create separate config files for collectd plugins
- Add collectd-ceilometer-plugin.conf to etc/collectd.conf.d/
- Add logfile.conf to etc/collectd.conf.d/
- Add default values to the collectd-ceilometer-plugin.conf
- Add default values to the logfile.conf
During deployment:
- Add substitutions for the vars

Change-Id: I196367e6f48af94c053b149596c57a735109b9ed
2016-12-05 15:20:43 +00:00