2025-12-18 15:18:32 +01:00

31 lines
815 B
YAML

global:
scrape_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
- job_name: 'observabilite'
static_configs:
- targets: ['192.168.4.4:9100'] #ip de la machine observabilite
- job_name: 'scaphandre'
static_configs:
- targets: ['192.168.4.4:8080']
fallback_scrape_protocol: "PrometheusText1.0.0"
- job_name: 'apache_vmservices'
static_configs:
- targets: ['192.168.56.17:9117'] #ip vmService
- job_name: 'vms'
static_configs:
- targets: ['192.168.56.18:9100'] #ip vmHardware
- targets: ['192.168.56.17:9100'] #ip vmServices
- targets: ['192.168.56.15:9100'] #ip vmApplicatifs
- job_name: 'tomcat'
static_configs:
- targets: ['192.168.56.15:9082'] #ip vmApplicatif