Subject: RARE user and assistance email list
List archive
- From: Xavier Jeannin <>
- To:
- Subject: Re: [RARE-users] [freertr] Monitoring documentation
- Date: Mon, 24 Oct 2022 10:07:59 +0200
- Dkim-filter: OpenDKIM Filter v2.10.3 zmtaauth02.partage.renater.fr 9A1B2A0424
Hello Gabriel,
It seems that the pb is due to container volume configuration. I am a beginner in Docker.
The problem is that my " rules.yml" seems not taken in
consideration; I cannot see anything in the Prometheus dashboard.
My alertmanager is up and answer on 9093.
So I add the line 12 (
/etc/prometheus/rules.yml:/etc/prometheus/rules.yml) to volume
section but Prometheus container doe not start
10 volumes:
11 -
/etc/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
12 - /etc/prometheus/rules.yml:/etc/prometheus/rules.yml
Trying to add the whole folder "/etc/prometheus" lead to the same
result; but Prometheus container doe not start
File = docker-compose.yml
version: '3'
services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus
ports:
- 9090:9090
command:
- --config.file=/etc/prometheus/prometheus.yml
volumes:
-
/etc/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
restart: always
grafana:
image: grafana/grafana:latest
container_name: grafana-server
user: "1000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=freerouter
depends_on:
- prometheus
ports:
- 3000:3000
restart: always
alertmanager:
image: prom/alertmanager:latest
container_name: alertmanager
restart: always
ports:
- "9093:9093"
command:
- --config.file=/etc/alertmanager/alertmanager.yml
volumes:
-
/etc/alertmanager/alertmanager.yml:/etc/alertmanager/alertmanager.yml:ro
depends_on:
- prometheus
volumes:
prom_vol:
external: true
Regards
Xavier
-- Xavier JEANNIN Network Dpt. GN4-3 Network technology evolution (WP6 T1) task leader Tél. : +33 1 5394 2042 Mob. : +33 6 3017 0963 www.renater.fr
- Re: [RARE-users] Monitoring documentation, Xavier Jeannin, 10/17/2022
- Re: [RARE-users] [freertr] Monitoring documentation, Gabriel Tetzner, 10/22/2022
- Re: [RARE-users] [freertr] Monitoring documentation, Xavier Jeannin, 10/24/2022
- Re: [RARE-users] [freertr] [freertr] Monitoring documentation, Gabriel Tetzner, 10/26/2022
- Re: [RARE-users] [freertr] [freertr] Monitoring documentation, Gabriel Tetzner, 10/26/2022
- Re: [RARE-users] [freertr] [freertr] Monitoring documentation, Gabriel Tetzner, 10/26/2022
- Re: [RARE-users] [freertr] Monitoring documentation, Xavier Jeannin, 10/24/2022
- Re: [RARE-users] [freertr] Monitoring documentation, Gabriel Tetzner, 10/22/2022
Archive powered by MHonArc 2.6.19.