Files
monasca-agent/monasca_setup
Peter Piela 8ee87b2ab7 Fixed search pattern in Ironic detection plugin
The original pattern .*200 OK.* does not match the output from the specified
ironic-api url, and exanple of which is shown below. The .*v1.* seems like
a better choice, and is consistent with other plugins.

{"default_version": {"id": "v1", "links": [{"href":
"http://localhost:6385/v1/","rel": "self"}]}, "versions": [{"id": "v1",
"links": [{"href": "http://localhost:6385/v1/", "rel": "self"}]}],
"name": "OpenStack Ironic API", "description":
"Ironic is an OpenStack project which aims to provision baremetal machines."}

Change-Id: I2b44253705d7f8240b2962070893588152ef3257
2016-07-06 11:58:54 -04: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.