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

97 lines
2.4 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: 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
2026-10-21 22:00:06 +02:00
# - https://torrent.someoneslinux.selfhost.eu
2026-10-12 18:10:41 +00:00
- 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"
- job_name: diun
metrics_path: /metrics
authorization:
credentials: "Qj#8C!@Uz3uRWm@mCd@KH6Bo7nfQ4K"
static_configs:
- targets:
- diun:9090
labels:
host: "mediahost"
- targets:
- "192.168.0.39:9090"
labels:
host: "quiethost"
- targets:
- "192.168.0.2:9090"
labels:
host: "serverhost"
- job_name: 'crowdsec'
static_configs:
- targets:
- host.docker.internal:6060
labels:
host: "mediahost"