This concerns:
- Nova server list
- Neutron
- Glance
- Cinder
Closes-bug: #1554502
Closes-bug: #1557455
Change-Id: Ia8b029080c8a18161441ab9bc13799f26e0941f3
* Split out object/workers stats collection for Nova, Cinder and Neutron plugins
* Use the common interface exposed by collectd_base.Base
Change-Id: I59f698b8f09fd0d3ce375327d9e4d81d767d961c
This patch adds a new metric that computes the percentage of workers
that are up, down and disabled.
Blueprint: allow-all-alarms-to-be-specified-in-alarming-file
Change-Id: Id31280273b6176cd415ce9b9ac10162e891479f9
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 change uses the Neutron API to get the status of the Neutron
agents instead of querying the MySQL database.
Change-Id: I60fa2386a887e9dac2fe4f1234d225ad6402bf2d
Partial-Bug: #1546188
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 sets the "owner" field to "none" when a port is created
and not attached to any device.
Change-Id: I1bdbb6a37ec6b0cf200a7ca91b43d89260dc3273
Closes-Bug: #1517053
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
collect number of agents in state disabled, up or down.
These metrics are collected from DB with collectd DBI plugin.
Change-Id: I98295fda14585656c19f562d496dd0aabf962976
This change adds the following metrics:
- number of networks broken down by status + total
- number of subnets
- number of ports broken down by owner and status + total
- number of routers broken down by status + total
- number of floating IP addresses broken down by status + total
- number of agents broken down by type and status + type + total
Change-Id: If6cc694cdd84e525f0747c6f6c78356acbaa77c8