a8a2bb845b
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 |
||
---|---|---|
.. | ||
detection | ||
service | ||
__init__.py | ||
agent_config.py | ||
main.py | ||
README.md | ||
utils.py |
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.