Use the Alerta web UI

Use the Alerta web UIΒΆ

The Alerta web UI enables you to view the most recent or watched alerts, as well as group and filter alerts according to your needs.

To connect to the Alerta web UI:

  1. Log in to the Salt Master node.

  2. Obtain the Alerta hostname (IP address), port, and protocol to use as a URL:

    salt -C 'I@horizon:server' pillar.item nginx:server:site:nginx_proxy_alerta:host
    

    Example of system response:

    prx01.stacklight-dev-2019-2-9.local:
        ----------
        nginx:server:site:nginx_proxy_alerta:host:
           ----------
           name:
               10.13.0.80
            port:
               15017
            protocol:
               https
    
  3. Obtain the Alerta administrator password:

    • Starting from the MCP 2019.2.11 maintenance update:

      salt -C 'I@prometheus:alerta and I@docker:swarm:role:master' pillar.item _param:alerta_admin_password
      

      Example of system response:

      mon01.queens-ovs-stacklight-2k19-2-om.local:
          ----------
          _param:alerta_admin_password:
              zbfNxydJnTwzgA61CRmrTiZ9w4Gmt5Qf
      
    • Prior to the MCP 2019.2.11 maintenance update:

      salt -C 'I@prometheus:alerta and I@docker:swarm:role:master' pillar.item docker:client:stack:monitoring:service:alerta:environment:ADMIN_PASSWORD
      

      Example of system response:

      mon01.stacklight-dev-2019-2-9.local:
          ----------
          docker:client:stack:monitoring:service:alerta:environment:ADMIN_PASSWORD:
              miUsex85ldx9YZLw3JBRegcYialYCFMA
      
  4. Enter the URL obtained in the step 2 to a web browser.

  5. Log in to the Alerta web UI using the default admin@alerta.io user name and the password obtained in the step 3.