Files
Server-scripts/docker_compose/mediahost/monitoring/prometheus.yml
T

79 lines
2.0 KiB
YAML
Raw Normal View History

2026-10-01 14:02:46 +00:00
global:
2026-10-12 18:10:41 +00:00
scrape_interval: 30s
evaluation_interval: 30s
2026-10-01 14:02:46 +00:00
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets:
- "prometheus:9090"
2026-10-12 18:10:41 +00:00
- job_name: "nginx"
static_configs:
- targets:
- nginx-exporter:9113
- job_name: blackbox_https
metrics_path: /probe
params:
module: [http_2xx]
static_configs:
- targets:
- https://cloud.someoneslinux.selfhost.eu
- https://media.someoneslinux.selfhost.eu
- https://audiobooks.someoneslinux.selfhost.eu
# - https://login.someoneslinux.selfhost.eu
- https://auto.someoneslinux.selfhost.eu
- https://music.someoneslinux.selfhost.eu
- https://passwd.someoneslinux.selfhost.eu
- https://requests.someoneslinux.selfhost.eu
- https://torrent.someoneslinux.selfhost.eu
- https://status.someoneslinux.selfhost.eu
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: blackbox-exporter:9115
2026-10-01 14:02:46 +00:00
- job_name: "node-exporter"
static_configs:
- targets:
- "192.168.0.2:9100"
labels:
host: serverhost
- targets:
2026-10-12 18:10:41 +00:00
- "192.168.0.4:9100"
2026-10-01 14:02:46 +00:00
labels:
host: "mediahost"
2026-10-12 18:10:41 +00:00
- targets:
- "192.168.0.39:9100"
labels:
host: "quiethost"
2026-10-01 14:02:46 +00:00
- job_name: "cadvisor"
static_configs:
- targets:
- "cadvisor:8080"
2026-10-12 18:10:41 +00:00
labels:
host: mediahost
- targets:
- "192.168.0.2:8081"
labels:
host: serverhost
2026-10-01 14:02:46 +00:00
- job_name: "smartctl"
static_configs:
- targets:
- "192.168.0.2:9633"
labels:
host: serverhost
2026-10-12 18:10:41 +00:00
- targets:
- "192.168.0.39:9633"
labels:
host: "quiethost"
2026-10-01 14:02:46 +00:00
- targets:
- "192.168.0.4:9633"
labels:
host: "mediahost"