ceilometer/ceilometer
Pedro Henrique cb448a1dbc Add support to host command dynamic pollster definitions
Problem description
===================
Today we have some hardcoded pollsters that are gathering
data from running virtual machines through libvirt or
different programs running in the compute nodes. However,
the Dynamic pollster definition does not support this kind of
operations to gather data, it only supports HTTP Rest
requests to collect data. Therefore, it is not possible to
use the dynamic pollster definition to create a YML based
pollster that runs and collects data from Libvirt in the
compute nodes.

Proposal
========
To allow host commands/scripts in the Dynamic pollsters,
we propose to add a new pollster definition using the
`os.subprocess` lib to run host commands to collect
Host/VMs data and store them in the configured backend.
This will provide more flexibility and make the
Dynamic pollsters able to be used in Ceilometer compute
 instances as well.

Change-Id: I50b8dc341ce457780416b41d138e35f5a0d083b6
Depends-On: https://review.opendev.org/c/openstack/ceilometer/+/850253
2022-09-13 15:04:58 -03:00
..
cmd Fix instantiation of manager.AgentManager on cmd.polling.create_polling_service 2019-11-14 13:28:32 -03:00
compute Debug log libvirt metadata version fails 2022-03-29 13:06:18 +00:00
data/meters.d Add volume.manage to metrics. 2020-05-28 16:51:25 +02:00
event Remove reference to the tenant attribute of RequestContext 2022-03-01 17:25:12 +09:00
hacking Update hacking for Python3 2020-03-31 17:39:51 +02:00
hardware Deprecate GenericHardwareDeclarativePollster 2021-09-23 23:12:35 +09:00
image Stop to use the __future__ module. 2020-06-02 19:36:09 +02:00
ipmi Replace six with python3 code style 2021-01-13 14:20:31 +01:00
locale Imported Translations from Zanata 2021-09-16 06:46:23 +00:00
meter Remove reference to the tenant attribute of RequestContext 2022-03-01 17:25:12 +09:00
network Remove support for neutron-lbaas 2022-06-08 14:44:35 +00:00
objectstore Fix swift pollsters that use get_account 2022-06-02 23:55:23 +03:00
pipeline Remove support for neutron-lbaas 2022-06-08 14:44:35 +00:00
polling Add support to host command dynamic pollster definitions 2022-09-13 15:04:58 -03:00
privsep Get output for processutils.execute impi command 2019-08-07 13:26:06 +08:00
publisher Remove support for neutron-lbaas 2022-06-08 14:44:35 +00:00
telemetry rename sample handler 2017-11-08 01:05:28 +00:00
tests Add support to host command dynamic pollster definitions 2022-09-13 15:04:58 -03:00
volume Add AZ resource metadata for volume size polling 2020-10-02 12:48:40 +02:00
__init__.py Remove Ceilometer API 2017-10-25 14:38:43 +02:00
agent.py Replace oslo_utils.fnmatch with fnmatch 2021-07-06 21:23:44 +09:00
declarative.py Add response handlers to support different response types 2022-09-01 10:07:29 -03:00
gnocchi_client.py Remove support for neutron-lbaas 2022-06-08 14:44:35 +00:00
i18n.py Update the documentation link for doc migration 2017-07-26 17:35:33 +08:00
keystone_client.py publisher: Contribute the Monasca publisher 2019-10-07 19:47:53 +02:00
messaging.py Change oslo.messaging prefetch default 2017-11-15 13:51:00 +01:00
middleware.py rename sample handler 2017-11-08 01:05:28 +00:00
monasca_client.py publisher: Contribute the Monasca publisher 2019-10-07 19:47:53 +02:00
monasca_opts.py Add missing ws seperator between words 2019-11-12 14:57:48 +08:00
neutron_client.py Remove support for neutron-lbaas 2022-06-08 14:44:35 +00:00
notification.py Fix ignored [notification] batch_size 2021-11-12 20:33:03 +09:00
nova_client.py Remove deprecated nova_http_log_debug option 2017-09-25 20:59:53 +01:00
opts.py Remove [coordination] check_watchers 2022-06-26 07:45:58 +09:00
sample.py Replace six with python3 code style 2021-01-13 14:20:31 +01:00
service.py Remove deprecated storage drivers 2017-10-26 09:35:14 +02:00
utils.py Replace deprecated oslo_utils.timeutils.isotime 2021-07-24 00:29:33 +09:00
version.py Introduce Guru Meditation Reports into Ceilometer 2015-08-20 08:59:51 +08:00