Skip to Content.
Sympa Menu

rare-users - Re: [RARE-users] [freertr] Monitoring documentation

Subject: RARE user and assistance email list

List archive

Re: [RARE-users] [freertr] Monitoring documentation


Chronological Thread 
  • 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,

Le 22/10/2022 à 19:48, Gabriel Tetzner a écrit :
Hi Xavier,

Were you able to solve the problems with the alerts? I've already had a similar problem, and if I can help...
Unfortunately, I cannot for now solve this issue. Thank you for your answer
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

 
Sorry for the delay in answering, time here is very busy.
 
Sincerely, Gabriel Tetzner Menegueti
-- 
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



Archive powered by MHonArc 2.6.19.

Top of Page