-
Notifications
You must be signed in to change notification settings - Fork 0
Firing Alerts Simulation
Lyes S edited this page Jun 11, 2022
·
5 revisions
Table Of Contents
cd docker-compose/
docker-compose -f service-registry.yml -f network-device-inventory.yml -f monitoring.yml -f gateway.yml --env-file .env up -d
lyes-s ( β₯β£_β’β€ ) ~ $ docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
d37e4a930990 nginx:latest "/docker-entrypoint.β¦" 10 minutes ago Up 10 minutes 0.0.0.0:80->80/tcp nginx
d24097ace37b grafana/grafana:latest "/run.sh" 10 minutes ago Up 10 minutes 3000/tcp grafana
3e7f5a270dbb prom/prometheus:latest "/bin/prometheus --cβ¦" 10 minutes ago Up 10 minutes 9090/tcp prometheus
08a1805da240 prometheuscommunity/postgres-exporter:latest "/bin/postgres_exporβ¦" 10 minutes ago Up 10 minutes 9187/tcp postgres-exporter
1bec95490ad2 lsefiane/network-device-inventory:latest "java -jar network-dβ¦" 10 minutes ago Up 10 minutes (healthy) 8080/tcp network-device-inventory
69394de0f661 postgres:latest "docker-entrypoint.sβ¦" 10 minutes ago Up 10 minutes (healthy) 5432/tcp postgreSQL
0d6ee425eb17 prom/alertmanager:latest "/bin/alertmanager -β¦" 10 minutes ago Up 10 minutes 9093/tcp alertmanager
e36c1400ad61 gcr.io/cadvisor/cadvisor:latest "/usr/bin/cadvisor -β¦" 10 minutes ago Up 10 minutes (healthy) 8080/tcp cadvisor
b7a4243a80ae consul:latest "docker-entrypoint.sβ¦" 10 minutes ago Up 10 minutes 8300-8302/tcp, 8500/tcp, 8301-8302/udp, 8600/tcp, 8600/udp consul
6d358300da0e prom/node-exporter "/bin/node_exporter β¦" 10 minutes ago Up 10 minutes 9100/tcp node-exporter
- In this case we simulate 02 instances down : cadvisor and consul.
lyes-s ( β₯β£_β’β€ ) ~ $ docker stop cadvisor consul
cadvisor
consul
Β© 2024 | Lyes Sefiane All Rights Reserved | CC BY-NC-ND 4.0