* Split out object/workers stats collection for Nova, Cinder and Neutron plugins
* Use the common interface exposed by collectd_base.Base
Change-Id: I59f698b8f09fd0d3ce375327d9e4d81d767d961c
When the OpenStack services cannot be polled due to authentication
issues (eg invalid username/passwod), collectd logged this message:
AttributeError: 'NoneType' object has no attribute 'status_code'
This change raises a KeystoneException when the plugin can't
authenticate against Keystone.
All other exceptions are logged as well.
Change-Id: I97c527d30b519989e43c1cfc0db4ce9d1dc50ca8
This is to avoid potential clashes with modules names as we experienced
with openstack.py.
Change-Id: I8380b419de0ce2ac3d98baa7a3c263c09508837f
Related-Bug: #1551622
This patch allows to specify a list of expected values when checking
the OpenStack API.
Change-Id: I3cad004171ade1bda3c968ffb75412698b728d9c
Closes-Bug: #1557384
This change modifies the check_openstack_api collectd plugin to provide
the 'region' value in the 'meta' dict instead of 'type_instance'.
Change-Id: Ia5e63ecef34bf61583b29ce9bade3b9f9e0d30f6
This change renames openstack.py Python module for collectd to
collectd_openstack.py because MOS 9 also ships an openstack
Python module. As a consequence, the collectd plugins using
openstack.py fail to initialize.
Change-Id: I10b3270d0b4b06439390d7da09b90ccf22ab38b5
Closes-Bug: #1551622
This change modifies the format of the metrics that report the status
of the endpoints. It is required to ease the work of the GSE filters.
Change-Id: I8e3cf67d9c2804c5572944a2721d314d60ed82fd
This change modifies the collectd plugins to collect OpenStack metrics
only when the controller node own the management VIP address. This
avoids duplication of work on all controllers and reduce the load on the
OpenStack services.
Change-Id: I068935fc9dede38f8cfbd6c7499e9b4ea956822e
API checks are reduced to the bare minimum to avoid overloading the
endpoints.
We perform the most basic API test to determine API status, mainly by calling
the root path without authentication.
Those checks simply indicate the availability of the API but does not
provide health status (report OK even if the database is unreachable for
example).
Change-Id: I8caa31876f4534e1aace79a994176b281ec211b0
The collectd plugin that checks OpenStack services used to log a
warning for all services it didn't have a check method. This change
modifies the log level to notice instead.
Change-Id: I794277a0509bd2dce29ab2975f60394ca3666553
The collectd service collects metrics from many sources:
- System (like CPU, RAM, disk, network and so on)
- MySQL
- RabbitMQ
- OpenStack services
It sends the data to the LMA collector using its HTTP JSON output. The
LMA collector then decodes this input and injects it into the Heka
pipeline. Eventually the metrics will be sent to InfluxDB.
Note: until we have the InfluxDB-Grafana plugin ready, the InfluxDB parameters
are hidden in the Fuel UI.
Change-Id: I59577fcdc014be8d0f1d4824ef416afda3604506