Install the StackLight LMA components

Install the StackLight LMA componentsΒΆ

After you deploy Elasticsearch and Kibana as described in Install the system-level Stacklight LMA services, proceed to configuring and installing Prometheus-based StackLight LMA.


If any of the steps below fail, do not proceed without resolving the issue.

To install the StackLight LMA components:

  1. Log in to the Salt Master node.

  2. Install Telegraf:

    salt -C 'I@telegraf:agent or I@telegraf:remote_agent' state.sls telegraf

    This formula installs the Telegraf package, generates configuration files, and starts the Telegraf service.

  3. Configure Prometheus exporters:

    salt -C 'I@prometheus:exporters' state.sls prometheus
  4. Configure Fluentd:

    salt -C 'I@fluentd:agent' state.sls fluentd.agent
  5. Install MongoDB:

    salt -C 'I@mongodb:server' state.sls mongodb
  6. Generate the configuration for services running in Docker Swarm:

    salt -C 'I@docker:swarm and I@prometheus:server' state.sls prometheus -b 1
  7. Deploy Prometheus long-term storage.

    salt -C 'I@prometheus:relay' state.sls prometheus
  8. Deploy the monitoring containers:

    salt -C 'I@docker:swarm:role:master and I@prometheus:server' state.sls docker
  9. Configure the Grafana client:

    salt -C 'I@grafana:client' state.sls grafana.client
  10. Customize the alerts as described in MCP Operations Guide: Alerts that require tuning.

  11. Proceed to Verify the StackLight LMA components after deployment.