📦 NEW: DEV-871 Add Hetzner Plugin to Grafana monitor all Server Dynamic
This commit is contained in:
227
config/hetzner_targets.json
Normal file
227
config/hetzner_targets.json
Normal file
@@ -0,0 +1,227 @@
|
||||
[
|
||||
{
|
||||
"targets": [
|
||||
"157.90.161.42:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "PHX-DEV-001.Alpha",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"167.235.254.4:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "ANSIBLE-MASTER",
|
||||
"datacenter": "fsn1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"116.203.75.215:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "cts",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"162.55.52.253:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "Phx-Yuri",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"162.55.54.75:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "benzinger-demo",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"5.75.183.139:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "phx-internal",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"142.132.165.231:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "trachtenmode-schmid",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"23.88.107.109:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "teamcity",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"49.13.146.138:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "gitea",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"159.69.200.205:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "phx-beta-rc",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"116.203.53.137:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "lhl",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"5.75.153.161:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "Grafana-Prometheus",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"159.69.44.39:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "cooper",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"49.13.165.13:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "shipxpert",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"49.13.197.152:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "dss",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"188.245.44.219:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "sartissohn",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"116.203.92.218:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "guntli",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"94.130.77.57:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "kolb",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"128.140.15.177:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "docuvita",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"116.203.151.20:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "ried",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"116.203.68.120:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "heba",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"116.203.128.69:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "eicsoft",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"159.69.93.252:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "ck-vechta",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"116.203.46.171:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "eeparts",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
},
|
||||
{
|
||||
"targets": [
|
||||
"167.235.130.242:9100"
|
||||
],
|
||||
"labels": {
|
||||
"instance": "big-break-changes",
|
||||
"datacenter": "nbg1"
|
||||
}
|
||||
}
|
||||
]
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user