📦 NEW: DEV-871 Add Hetzner Plugin to Grafana monitor all Server Dynamic

This commit is contained in:
2025-01-30 13:01:50 +00:00
parent a4d9888bfe
commit ebf1ab5985
9 changed files with 378 additions and 141 deletions

View File

@@ -1,105 +1,10 @@
global:
scrape_interval: 15s # By default, scrape targets every 15 seconds.
scrape_interval: 15s # Default for all jobs unless overridden
# Attach these labels to any time series or alerts when communicating with
# external systems (federation, remote storage, Alertmanager).
# external_labels:
# monitor: 'codelab-monitor'
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
- job_name: "Prometheus Server"
scrape_interval: 5s
static_configs:
- targets: ["5.75.153.161:9090", "prometheus.phx-erp.de"]
- job_name: 'node'
scrape_interval: 5s
static_configs:
- targets: ['5.75.153.161:9100']
- job_name: "Phx Yuri"
scrape_interval: 5s
static_configs:
- targets: ["162.55.52.253:9100", "node-yuri.phx-erp.de"]
- job_name: "lhl"
scrape_interval: 5s
static_configs:
- targets: ["116.203.53.137:9100", "node-lhl.phx-erp.de"]
- job_name: "Phx Beta RC"
scrape_interval: 5s
static_configs:
- targets: ["116.203.53.137:9100", "node-beta-rc.phx-erp.de"]
- job_name: "Gitea"
scrape_interval: 5s
static_configs:
- targets: ["49.13.146.138:9100", "node-gitea.phx-erp.de"]
- job_name: "Team City"
scrape_interval: 5s
static_configs:
- targets: ["23.88.107.109:9100", "node-teamcity.phx-erp.de"]
- job_name: "Cooper"
scrape_interval: 5s
static_configs:
- targets: ["159.69.44.39:9100", "node-cooper.phx-erp.de"]
- job_name: "Shipxpert"
scrape_interval: 5s
static_configs:
- targets: ["49.13.165.13:9100", "node-shipxpert.phx-erp.de"]
- job_name: "Dss"
scrape_interval: 5s
static_configs:
- targets: ["49.13.197.152:9100", "node-dss.phx-erp.de"]
- job_name: "Guntli"
scrape_interval: 5s
static_configs:
- targets: ["116.203.92.218:9100", "node-guntli.phx-erp.de"]
- job_name: "Sartissohn"
scrape_interval: 5s
static_configs:
- targets: ["188.245.44.219:9100", "node-sartissohn.phx-erp.de"]
- job_name: "Kolb"
scrape_interval: 5s
static_configs:
- targets: ["94.130.77.57:9100", "node-kolb.phx-erp.de"]
- job_name: "Trachtenmode Schmid"
scrape_interval: 5s
static_configs:
- targets: ["142.132.165.231:9100", "node-trachtenmode-schmid.phx-erp.de"]
- job_name: "Phx Internal"
scrape_interval: 5s
static_configs:
- targets: ["5.75.183.139:9100", "node-internal.phx-erp.de"]
- job_name: "Benzinger Demo"
scrape_interval: 5s
static_configs:
- targets: ["162.55.54.75:9100", "node-benzinger-demo.phx-erp.de"]
- job_name: "CTS"
scrape_interval: 5s
static_configs:
- targets: ["116.203.75.215:9100", "node-cts.phx-erp.de"]
- job_name: "Ansible Master"
scrape_interval: 5s
static_configs:
- targets: ["167.235.254.4:9100", "node-ansible-master.phx-erp.de"]
- job_name: "Alpha"
scrape_interval: 5s
static_configs:
- targets: ["157.90.161.42:9100", "node-alpha.phx-erp.de"]
- job_name: "hetzner-dynamic"
file_sd_configs:
- files:
- "/hetzner_targets.json"
refresh_interval: 30s
scrape_interval: 5s # Custom interval for Hetzner servers