monasca-agent/monasca_setup
Tomasz Trębski b71fd4bef4 Integrate with keystoneauth
Following commit makes enhancements to the
keystone handling inside monasca-agent:

* using generic password approach that abstracts from underlying
keystone version thus allows agent to be used seamlessly with
either v2.0 or v3. The only relevant part is the set of parameters
that one needs to supply to either monasca-reconfigure or agent.yaml
configuration file
* using keystone discovery - it simply means that agent will no longer
enforce particular keystone version but will allow keystoneauth
to pick the best match for given environment

Extra:
* extracted methods get_session and get_client utilize an aproach
presented above and can be used outside of monasca_agent.common.keystone
inside checks or detection plugins
* make imports to import only modules instead specific objects
* removed some redundant methods

Story: 2000995
Task: 4191

Needed-By: I579f6bcd5975a32af2a255be41c9b6c4043fa1dc
Needed-By: Ifee5b88ccb632222310aafb1081ecb9c9d085150
Change-Id: Iec97e50089ed31ae7ad8244b37cec128817871a5
2017-07-11 09:02:34 +02:00
..
detection Check OVS dependencies for python-novaclient 2017-06-26 09:14:31 +02:00
service Fix SLES platform detection 2017-03-15 11:17:21 +01:00
README.md Allow a comma separated list of hosts for host_alive detection plugin 2015-07-24 14:11:13 -06:00
__init__.py Renaming agent packages to reflect monasca 2014-12-19 09:22:03 -07:00
agent_config.py Replace six.iteritems() with .items() 2017-04-03 22:52:26 +08:00
main.py Integrate with keystoneauth 2017-07-11 09:02:34 +02:00
utils.py Merge "add --skip_detection_plugins arg. for skipping listed detection plugins" 2016-06-24 20:30:00 +00:00

README.md

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.