monasca-agent/monasca_setup
cindy oneill 2e4913f4b6 process.py detection plugin that accepts JSON string or YAML config
JSON was used to support names that contain special characters.

New json argument type for monasca-setup (inspired by review from
Alexis Lee https://review.openstack.org/339023/)
Note: The json argument would help solve a problem
with file_size.py (https://bugs.launchpad.net/bugs/1625966),
but file_size.py would still need modifications to accept
json kwargs in its __init__ method.

Change-Id: Id56a81d8f424be079a683d95c59c3e2a7d6b20d5
2016-11-09 10:48:59 -07:00
..
detection process.py detection plugin that accepts JSON string or YAML config 2016-11-09 10:48:59 -07:00
service Centos and RedHat added as supported distributions 2016-02-15 16:46:05 +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 yaml.load() with yaml.safe_load() 2016-10-17 15:59:48 -06:00
main.py process.py detection plugin that accepts JSON string or YAML config 2016-11-09 10:48:59 -07: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.