Configuration

global:
  scrape_interval: 1m
  scrape_timeout: 10s
  evaluation_interval: 1m
alerting:
  alertmanagers:
  - follow_redirects: true
    enable_http2: true
    scheme: http
    timeout: 10s
    api_version: v2
    static_configs:
    - targets:
      - localhost:9093
rule_files:
- /etc/prometheus/rules.d/security.yml
- /etc/prometheus/rules.d/system.yml
- /etc/prometheus/rules.d/blackbox.yml
- /etc/prometheus/rules.d/lacdo.yml
scrape_configs:
- job_name: prometheus
  honor_timestamps: true
  scrape_interval: 1m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - seraphin.aquilenet.fr:9090
- job_name: node
  honor_timestamps: true
  scrape_interval: 1m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - charon1.aquilenet.fr:9100
    - charon2.aquilenet.fr:9100
    labels:
      group: firewall
  - targets:
    - mezzanine.aquilenet.fr:9100
    labels:
      group: mezzanine
  - targets:
    - charon21.aquilenet.fr:9100
    labels:
      group: TH2
  - targets:
    - seraphin.aquilenet.fr:9100
    - echo.aquilenet.fr:9100
    - mail.aquilenet.fr:9100
    - argos.aquilenet.fr:9100
    labels:
      group: vm
  - targets:
    - hq.lacdo.aquilenet.fr:9100
    labels:
      firewall: openbsd
      group: lacdo
  - targets:
    - lacdo.aquilenet.fr:9100
    labels:
      group: lacdo
  - targets:
    - bdx.utopia.wopr.aquilenet.fr:9100
    labels:
      firewall: openbsd
      group: utopia
  - targets:
    - dcptek.bordeaux.utopia.aquilenet.fr:9200
    - archives.bordeaux.utopia.aquilenet.fr:9300
    labels:
      group: utopia
  - targets:
    - mne.aquilenet.fr:9100
    labels:
      firewall: openbsd
      group: mne.aquilenet.fr
  - targets:
    - cerber3.taz.im:9100
    labels:
      firewall: openbsd
      group: taz.im
  - targets:
    - ada.taz.im:9101
    labels:
      group: taz.im
  - targets:
    - pl4tform.org:9100
    labels:
      group: pl4tform
  - targets:
    - os.audiovisuel2000.com:9100
    labels:
      group: farouest
- job_name: icecast2
  honor_timestamps: true
  scrape_interval: 1m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - lacdo.aquilenet.fr:9101
    labels:
      group: lacdo
  - targets:
    - pl4tform.aquilenet.fr:9101
    labels:
      group: pl4tform
- job_name: icmp
  honor_timestamps: true
  params:
    module:
    - icmp
  scrape_interval: 5s
  scrape_timeout: 5s
  metrics_path: /probe
  scheme: http
  follow_redirects: true
  enable_http2: true
  relabel_configs:
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    target_label: __param_target
    replacement: $1
    action: replace
  - source_labels: [__param_target]
    separator: ;
    regex: (.*)
    target_label: instance
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: __address__
    replacement: prometheus.aquilenet.fr:9115
    action: replace
  static_configs:
  - targets:
    - 149.6.44.18
    - 149.6.44.19
    - 149.6.44.20
    labels:
      group: firewall
  - targets:
    - echo.aquilenet.fr
    labels:
      group: vm
- job_name: bigbluebutton
  honor_timestamps: true
  scrape_interval: 15s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - echo.aquilenet.fr:9688
- job_name: www.aquilenet.fr
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - www.aquilenet.fr:9113
- job_name: unifi-poller
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - zephyr.aquilenet.fr:9130
- job_name: snmp
  honor_timestamps: true
  params:
    module:
    - if_mib
  scrape_interval: 30s
  scrape_timeout: 10s
  metrics_path: /snmp
  scheme: http
  follow_redirects: true
  enable_http2: true
  relabel_configs:
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    target_label: __param_target
    replacement: $1
    action: replace
  - source_labels: [__param_target]
    separator: ;
    regex: (.*)
    target_label: instance
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: __address__
    replacement: mezzanine.aquilenet.fr:9116
    action: replace
  static_configs:
  - targets:
    - 10.20.20.161
    - 10.20.20.162
    - 10.20.20.250
    - 10.20.20.251
- job_name: snmp-styx1
  honor_timestamps: true
  params:
    module:
    - if_mib
  scrape_interval: 30s
  scrape_timeout: 10s
  metrics_path: /snmp
  scheme: http
  follow_redirects: true
  enable_http2: true
  relabel_configs:
  - source_labels: [__address__]
    separator: ;
    regex: (.*)
    target_label: __param_target
    replacement: $1
    action: replace
  - source_labels: [__param_target]
    separator: ;
    regex: (.*)
    target_label: instance
    replacement: $1
    action: replace
  - separator: ;
    regex: (.*)
    target_label: __address__
    replacement: 149.6.44.20:9116
    action: replace
  static_configs:
  - targets:
    - 10.10.10.250
- job_name: linky
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 20s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - mezzanine.aquilenet.fr:9101
- job_name: mastodon
  honor_timestamps: true
  scrape_interval: 30s
  scrape_timeout: 20s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - 185.233.100.39:9102
- job_name: bind9
  honor_timestamps: true
  scrape_interval: 1m
  scrape_timeout: 10s
  metrics_path: /metrics
  scheme: http
  follow_redirects: true
  enable_http2: true
  static_configs:
  - targets:
    - hades.aquilenet.fr:9153