prometheus/prometheus/prometheus.yml

57 lines
1.3 KiB
YAML

global:
scrape_interval: 15s
scrape_timeout: 10s
evaluation_interval: 15s
alerting:
alertmanagers:
- static_configs:
- targets: []
scheme: http
timeout: 10s
api_version: v1
scrape_configs:
- job_name: prometheus
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- localhost:9090
- job_name: docker_hosts
static_configs:
- targets: ['pi501.in.thelinuxpro.net:9100', 'pi502.in.thelinuxpro.net:9100']
- job_name: unifi
static_configs:
- targets: ['unpoller.in.thelinuxpro.net:9130']
- job_name: pihole
static_configs:
- targets: ['pihole-exporter.in.thelinuxpro.net:9617']
- job_name: blackbox
metrics_path: /probe
params:
module: [https_2xx]
static_configs:
- targets:
- thelinux.pro:443
- job_name: blackbox_http_3xx
metrics_path: /probe
params:
module: [http_301]
static_configs:
- targets:
- thelinux.pro:80
- job_name: blackbox_dns_thelinux_pro__A
metrics_path: /probe
params:
module: dns_thelinux_pro__A
static_configs:
- targets: ['ns1.thelinuxpro.net', 'ns2.thelinuxpro.net']
- job_name: blackbox_dns_thelinux_pro__SOA
metrics_path: /probe
params:
module: dns_thelinux_pro__SOA
static_configs:
- targets: ['ns1.thelinuxpro.net', 'ns2.thelinuxpro.net']