Add ceph monitoring

This commit is contained in:
2025-11-13 19:39:21 +02:00
parent ae16e4c83f
commit f9601bf5a5

View File

@@ -1,25 +1,18 @@
---
apiVersion: monitoring.coreos.com/v1
kind: Probe
apiVersion: monitoring.coreos.com/v1alpha1
kind: ScrapeConfig
metadata:
name: nodes-ceph
namespace: monitoring
spec:
scrapeTimeout: 30s
targets:
staticConfig:
static:
metricsPath: /metrics
scheme: HTTP
scrapeInterval: 3s
staticConfigs:
- labels:
job: ceph-exporter
targets:
- 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
- pve93.proxmox.infra.k-space.ee:9283