Add ceph monitoring

This commit is contained in:
2025-11-13 19:28:01 +02:00
parent 5961739b07
commit ae16e4c83f

25
monitoring/ceph.yaml Normal file
View File

@@ -0,0 +1,25 @@
---
apiVersion: monitoring.coreos.com/v1
kind: Probe
metadata:
name: nodes-ceph
spec:
scrapeTimeout: 30s
targets:
staticConfig:
static:
- pve90.proxmox.infra.k-space.ee:9283
- pve91.proxmox.infra.k-space.ee:9283
- pve92.proxmox.infra.k-space.ee:9283
- pve93.proxmox.infra.k-space.ee:9283
relabelingConfigs:
- sourceLabels: [__param_target]
targetLabel: instance
- sourceLabels: [__param_target]
targetLabel: __address__
prober:
url: localhost
path: /metrics
metricRelabelings:
- sourceLabels: [__address__]
targetLabel: target