21dbee4b53
Compose files and configs for postgres, adguard, duckdns, homarr, neo4j, portainer, remotely, and monitoring; RESTORE.md and sync-from-nas script. Sanitize pgAdmin secrets; document homelab-command as separate repo. Co-authored-by: Cursor <cursoragent@cursor.com>
45 lines
1.2 KiB
YAML
45 lines
1.2 KiB
YAML
# Prometheus — scrape targets op Docker bridge (naast postgres-homelab, neo4j, …).
|
|
global:
|
|
scrape_interval: 15s
|
|
evaluation_interval: 15s
|
|
|
|
scrape_configs:
|
|
- job_name: prometheus
|
|
static_configs:
|
|
- targets: ["localhost:9090"]
|
|
|
|
- job_name: postgres-exporter
|
|
static_configs:
|
|
- targets: ["postgres-exporter-homelab:9187"]
|
|
labels:
|
|
instance: postgres-homelab
|
|
|
|
# Neo4j 4.4+ enterprise metrics.prometheus.enabled → endpoint op poort 2004
|
|
- job_name: neo4j
|
|
scrape_interval: 30s
|
|
metrics_path: /metrics
|
|
static_configs:
|
|
- targets: ["neo4j:2004"]
|
|
labels:
|
|
instance: neo4j
|
|
|
|
# Proxmox VE — prometheus-pve-exporter; vul monitoring/prometheus/targets/extra.yml
|
|
- job_name: proxmox-pve
|
|
scrape_interval: 30s
|
|
file_sd_configs:
|
|
- files:
|
|
- /etc/prometheus/targets/extra.yml
|
|
refresh_interval: 1m
|
|
|
|
# Synology / SNMP: zet targets in monitoring/prometheus/targets/snmp.yml en uncomment hieronder.
|
|
# - job_name: snmp
|
|
# scrape_interval: 60s
|
|
# metrics_path: /snmp
|
|
# params:
|
|
# module: [synology]
|
|
# static_configs:
|
|
# - targets:
|
|
# - 192.168.1.211
|
|
# labels:
|
|
# job: snmp-nas
|