monasca-agent/monasca_setup
Stefano Canepa a8a2bb845b Removed dependency on supervisor
To support python3 in the near future this was done:

* Removed dependency on supervisor.
* Added template configuration for systemd target that includes all
  services.
* Added templates configuration for systemd service for every single
  service.
* Changed monasca_setup to use the new templates.

In the meanwhile code was formated to cope with pep8 settings and some
other small changes were done to comply with pycodestyle and
pydocstring.

Task: 4126
Story: 2000975

Depends-On: https://review.openstack.org/#/c/566475/

Change-Id: I0d0c4ea41a830581d6b9f247fad6a2dda1f96cbe
2018-06-27 11:28:43 +02:00
..
detection Removed dependency on supervisor 2018-06-27 11:28:43 +02:00
service Removed dependency on supervisor 2018-06-27 11:28:43 +02:00
__init__.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
agent_config.py Add Apache License 2018-04-14 11:50:07 +00:00
main.py Removed dependency on supervisor 2018-06-27 11:28:43 +02:00
README.md Allow a comma separated list of hosts for host_alive detection plugin 2015-07-24 14:11:13 -06:00
utils.py Add Apache License 2018-04-14 11:50:07 +00:00

monasca-setup

This script will detect running services and configure monasca-agent to watch them as well as starting the agent and configuring it to start up on boot.

Future Considerations

  • A config file with metadata to assist in automatic configuration could be quite valuable, for example user/pass for logging into mysql.