Merge "[DOCS] Add new section to configure-monasca-agent.rst"

This commit is contained in:
Zuul 2018-02-15 12:51:52 +00:00 committed by Gerrit Code Review
commit b7ef60fe09
1 changed files with 27 additions and 4 deletions

View File

@ -14,13 +14,36 @@ collecting metrics from a variety of sources.
The Agent is extensible through configuration of additional check
and setup plugins, written in Python.
Configuring target hosts
~~~~~~~~~~~~~~~~~~~~~~~~
Modify ``/etc/openstack_deploy/conf.d/monasca.yml`` by adding a list of
``monasca-agent-infra_hosts``, containing all the hosts that needs to
be monitored:
In ``monasca.yml``:
.. code-block:: yaml
[...]
monasca-agent-infra_hosts:
infra01:
ip: INFRA01_IP_ADDRESS
infra02:
ip: INFRA02_IP_ADDRESS
infra03:
ip: INFRA03_IP_ADDRESS
Replace ``*_IP_ADDRESS`` with the IP address of the br-mgmt container
management bridge on each target host.
Setting up monasca-agent
~~~~~~~~~~~~~~~~~~~~~~~~
The monasca-agent playbook targets all hosts and containers. In that
way, to install monasca-agent no configuration is necessary, simply
build the monasca-agent packages/virtual environmnet (if not built
already) and run its playbook:
Build the monasca-agent packages/virtual environment (if not
built already) and run its playbook:
.. code-block:: console