Setting up alerts - Demo
- Install Alertmanager
- Create config fot the Alertmanager
- Slack
- ...
- Alter prometheus config
- Setup an alert
- See the notification coming in when an alert is fired
Setting - Slack
Run Alertmanager on Docker
- https://github.com/prometheus/alertmanager
sansae@sansaeubuntu:~$ docker run --name alertmanager -d -p 9093:9093 quay.io/prometheus/alertmanager Unable to find image 'quay.io/prometheus/alertmanager:latest' locally latest: Pulling from prometheus/alertmanager 0f8c40e1270f: Pull complete 626a2a3fee8c: Pull complete 74ad1ee664e6: Pull complete addd0e4e1dc5: Pull complete 012b22e92c79: Pull complete 518f5393dbbc: Pull complete Digest: sha256:24a5204b418e8fa0214cfb628486749003b039c279c56b5bddb5b10cd100d926 Status: Downloaded newer image for quay.io/prometheus/alertmanager:latest 8177cb714ac6256558917a0c3b165f526baf591f7e295cc12f295e2ab4ef6598 sansae@sansaeubuntu:~$