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:
Log in to the Salt Master node.
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
Obtain the Alerta administrator password:
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
Enter the URL obtained in the step 2 to a web browser.
Log in to the Alerta web UI using the default admin@alerta.io
user name
and the password obtained in the step 3.