Commit fe41c080 authored by e_zombie's avatar e_zombie Committed by EKbfh
Browse files

Update docs about use docker-compose-infra.yml file

parent 703e7f2e
......@@ -9,6 +9,13 @@ A: These are several services that collect and visualize
* Sentry: http://<ip>:9000
* VictoriaMetrics: http://<ip>:8880
Q: how can i start using this?
A: You need run
```
docker-compose -f docker-compose-infra.yml up -d
```
Q: Sentry not work after first run.
A: You need run
......@@ -18,3 +25,24 @@ A: You need run
Setup admin user and password.
Go to https://0.0.0.0:9000 to login in Sentry
Q: Can I use the file to monitor other NOC installations?
A: Yes. Edit *./var/docker-vmagent/etc/prometheus.yml*:
```
- job_name: 'prod_consul'
consul_sd_configs:
- server: 'consul:8500'
```
to
```
- job_name: 'prod_consul'
consul_sd_configs:
- server: '<consul bootstrap IP NOC installations>:8500'
```
and restart container *vmagent*
```
docker-compose -f docker-compose-infra.yml restart vmagent
```
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment