初始化prometheus全套配置
This commit is contained in:
@@ -0,0 +1,257 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.150.10.83:2049
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
- job_name: "cnbjipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9558"]
|
||||
- job_name: "cnbjipanfs01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9558"]
|
||||
- job_name: "cnszipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9558"]
|
||||
- job_name: "twvmipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9558"]
|
||||
- job_name: "twvmipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9558"]
|
||||
- job_name: "twvmipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9558"]
|
||||
- job_name: "twvmipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9558"]
|
||||
- job_name: "cnxaipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9558"]
|
||||
- job_name: blackbox_icmp_ping
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [icmp]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.83
|
||||
- 10.152.10.24
|
||||
- 10.150.10.55
|
||||
- 10.153.10.210
|
||||
- 10.160.10.91
|
||||
- 10.151.10.34
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- replacement: 10.150.117.190:9115 # blackbox地址
|
||||
target_label: __address__
|
||||
- job_name: "blackbox-veeam-port"
|
||||
scrape_timeout: 10s
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.115.12.185:6160
|
||||
- 10.115.12.185:6162
|
||||
- 10.115.12.185:443
|
||||
- 10.115.12.185:445
|
||||
relabel_configs:
|
||||
# 把目标主机:端口传给blackbox探测参数
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
# instance标签展示完整地址:端口
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
# 实际抓取地址指向远端blackbox服务
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
# 提取端口号存入port标签,告警可单独展示端口
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
# 新增业务标签,用于告警分组过滤
|
||||
- source_labels: []
|
||||
target_label: business
|
||||
replacement: veeam_backup
|
||||
|
||||
- job_name: 'blackbox-veeam-monitor'
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect] # 使用 TCP 连通性探测
|
||||
static_configs:
|
||||
- targets:
|
||||
# Veeam Service Provider Console (VSPC)
|
||||
# - 10.115.13.209:1989 # usdcnveeamconsole01 (Web UI)
|
||||
# - 10.115.13.209:9999 # usdcnveeamconsole01 (Server)
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: blackbox-exporter:9115 # 请确保这里替换为您 Blackbox Exporter 的实际地址
|
||||
@@ -0,0 +1,22 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
@@ -0,0 +1,25 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
@@ -0,0 +1,35 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
@@ -0,0 +1,38 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
@@ -0,0 +1,41 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
@@ -0,0 +1,44 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
@@ -0,0 +1,47 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
@@ -0,0 +1,50 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
@@ -0,0 +1,53 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
@@ -0,0 +1,56 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
@@ -0,0 +1,59 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
@@ -0,0 +1,62 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
@@ -0,0 +1,65 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
@@ -0,0 +1,68 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
@@ -0,0 +1,71 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
@@ -0,0 +1,74 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "10.115.10.83"
|
||||
static_configs:
|
||||
- targets: [":9100"]
|
||||
@@ -0,0 +1,74 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "cnshipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.83:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
@@ -0,0 +1,102 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
@@ -0,0 +1,135 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
@@ -0,0 +1,158 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "systemd"
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.180:9558
|
||||
- 10.150.10.86:9558
|
||||
@@ -0,0 +1,156 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
@@ -0,0 +1,159 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
@@ -0,0 +1,162 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
@@ -0,0 +1,165 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
@@ -0,0 +1,168 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
@@ -0,0 +1,171 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
@@ -0,0 +1,174 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
- job_name: "cnbjipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9558"]
|
||||
@@ -0,0 +1,177 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
- job_name: "cnbjipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9558"]
|
||||
- job_name: "cnbjipanfs01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9558"]
|
||||
@@ -0,0 +1,180 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
- job_name: "cnbjipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9558"]
|
||||
- job_name: "cnbjipanfs01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9558"]
|
||||
- job_name: "cnszipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9558"]
|
||||
@@ -0,0 +1,183 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
- job_name: "cnbjipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9558"]
|
||||
- job_name: "cnbjipanfs01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9558"]
|
||||
- job_name: "cnszipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9558"]
|
||||
- job_name: "twvmipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9558"]
|
||||
@@ -0,0 +1,186 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
- job_name: "cnbjipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9558"]
|
||||
- job_name: "cnbjipanfs01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9558"]
|
||||
- job_name: "cnszipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9558"]
|
||||
- job_name: "twvmipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9558"]
|
||||
- job_name: "twvmipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9558"]
|
||||
@@ -0,0 +1,189 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
- job_name: "cnbjipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9558"]
|
||||
- job_name: "cnbjipanfs01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9558"]
|
||||
- job_name: "cnszipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9558"]
|
||||
- job_name: "twvmipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9558"]
|
||||
- job_name: "twvmipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9558"]
|
||||
- job_name: "twvmipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9558"]
|
||||
@@ -0,0 +1,192 @@
|
||||
global:
|
||||
scrape_interval: 15s
|
||||
evaluation_interval: 15s
|
||||
scrape_timeout: 8s
|
||||
|
||||
alerting:
|
||||
alertmanagers:
|
||||
- static_configs:
|
||||
- targets:
|
||||
- "10.150.117.190:9093"
|
||||
rule_files:
|
||||
- "/etc/prometheus/rules/*.yml"
|
||||
|
||||
scrape_configs:
|
||||
- job_name: "cnszipa01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9100"]
|
||||
- job_name: "cnxaipa01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.30:9100"]
|
||||
- job_name: "cnxanis01"
|
||||
static_configs:
|
||||
- targets: ["10.153.10.200:9100"]
|
||||
- job_name: "nsschina2"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9100"]
|
||||
- job_name: 'veeam-builtin'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.224:9182']
|
||||
scrape_interval: 60s
|
||||
- job_name: 'pushgateway'
|
||||
static_configs:
|
||||
- targets: ['10.150.117.190:9091']
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets: ["10.150.117.190:9100"]
|
||||
- job_name: "nsschina"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9100"]
|
||||
- job_name: "cnshipa01"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9100"]
|
||||
- job_name: "nshipa02"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9100"]
|
||||
- job_name: "cnbjipanfs01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9100"]
|
||||
- job_name: "twvmipa01"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9100"]
|
||||
- job_name: "twvmipa02"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9100"]
|
||||
- job_name: "twvmipa03"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9100"]
|
||||
- job_name: "twvmipa04"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9100"]
|
||||
- job_name: "cnsznis01"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.31:9100"]
|
||||
- job_name: "cnshipa03"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9100"]
|
||||
- job_name: "usdcnbackup01"
|
||||
static_configs:
|
||||
- targets: ["10.115.10.83:9100"]
|
||||
- job_name: "USATNIS02"
|
||||
static_configs:
|
||||
- targets: ["10.108.10.14:9100"]
|
||||
|
||||
- job_name: "tcp_port_111_2049_check"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.152.10.118:111
|
||||
- 10.153.10.30:111
|
||||
- 10.153.10.30:2049
|
||||
- 10.153.10.200:111
|
||||
- 10.153.10.200:2049
|
||||
- 10.150.111.240:111
|
||||
- 10.150.111.240:2049
|
||||
- 10.150.10.180:111
|
||||
- 10.150.10.81:111
|
||||
- 10.151.10.32:111
|
||||
- 10.151.10.32:2049
|
||||
- 10.152.10.31:111
|
||||
- 10.152.10.31:2049
|
||||
- 10.150.10.86:111
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
|
||||
- job_name: "cnshipa04"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9100"]
|
||||
|
||||
# FreeIPA LDAP 389明文 / 636加密端口连通探测
|
||||
- job_name: "blackbox-freeipa-ldap"
|
||||
metrics_path: /probe
|
||||
params:
|
||||
module: [tcp_connect]
|
||||
static_configs:
|
||||
- targets:
|
||||
- 10.150.10.81:389
|
||||
- 10.150.10.82:389
|
||||
- 10.150.10.86:389
|
||||
- 10.150.10.87:389
|
||||
- 10.160.10.188:389
|
||||
- 10.160.10.189:389
|
||||
- 10.160.10.190:389
|
||||
- 10.160.10.191:389
|
||||
- 10.152.10.118:389
|
||||
- 10.153.10.30:389
|
||||
- 10.151.10.31:389
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 10.150.117.190:9115
|
||||
- source_labels: [__param_target]
|
||||
regex: .+:(\d+)
|
||||
target_label: port
|
||||
- job_name: "cnbjipa01"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9100"]
|
||||
|
||||
- job_name: consul-sd
|
||||
consul_sd_configs:
|
||||
- server: 10.150.117.190:8500
|
||||
tags: ["metrics"]
|
||||
relabel_configs:
|
||||
- source_labels: [__meta_consul_health]
|
||||
regex: passing
|
||||
action: keep
|
||||
- source_labels: [__meta_consul_service]
|
||||
target_label: service
|
||||
- source_labels: [__meta_consul_address, __meta_consul_service_port]
|
||||
separator: ":"
|
||||
target_label: instance
|
||||
- job_name: "cnshnis01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.180:9558"]
|
||||
- job_name: "cnshipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.81:9558"]
|
||||
- job_name: "cnshipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.82:9558"]
|
||||
- job_name: "cnshipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.86:9558"]
|
||||
- job_name: "cnshipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.10.87:9558"]
|
||||
- job_name: "nsschina2_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.150.111.240:9558"]
|
||||
- job_name: "cnbjipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.31:9558"]
|
||||
- job_name: "cnbjipanfs01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.151.10.32:9558"]
|
||||
- job_name: "cnszipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.152.10.118:9558"]
|
||||
- job_name: "twvmipa01_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.188:9558"]
|
||||
- job_name: "twvmipa02_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.189:9558"]
|
||||
- job_name: "twvmipa04_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.191:9558"]
|
||||
- job_name: "twvmipa03_systemd"
|
||||
static_configs:
|
||||
- targets: ["10.160.10.190:9558"]
|
||||
@@ -0,0 +1,57 @@
|
||||
groups:
|
||||
- name: single_port_service_alarm
|
||||
rules:
|
||||
########################### 严重告警 Critical ###########################
|
||||
# 22 sshd 远程登录端口
|
||||
- alert: Port_22_SSHD_Down
|
||||
expr: probe_success{port="22"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
service: sshd
|
||||
annotations:
|
||||
summary: "主机{{$labels.instance}} SSH登录端口{{$labels.port}}断开"
|
||||
description: "端口{{$labels.port}} sshd服务异常,无法远程登录服务器,紧急处理!"
|
||||
|
||||
# 111 rpcbind RPC注册服务
|
||||
- alert: Port_111_Rpcbind_Down
|
||||
expr: probe_success{port="111"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
service: rpcbind
|
||||
annotations:
|
||||
summary: "主机{{$labels.instance}} RPC注册端口{{$labels.port}}断开"
|
||||
description: "端口{{$labels.port}} rpcbind异常,所有NFS/RPC相关服务全部失效,业务挂载会报错!"
|
||||
|
||||
# 2049 NFS存储端口
|
||||
- alert: Port_2049_NFS_Down
|
||||
expr: probe_success{port="2049"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
service: nfs
|
||||
annotations:
|
||||
summary: "主机{{$labels.instance}} NFS存储端口{{$labels.port}}断开"
|
||||
description: "端口{{$labels.port}} NFS内核端口无法连通,所有业务NFS读写中断!"
|
||||
|
||||
# 9100 node_exporter监控采集
|
||||
- alert: Port_9100_NodeExporter_Down
|
||||
expr: probe_success{port="9100"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
service: node_exporter
|
||||
annotations:
|
||||
summary: "主机{{$labels.instance}} 监控采集端口{{$labels.port}}断开"
|
||||
description: "端口{{$labels.port}} node_exporter离线,主机资源指标无法采集,无监控数据!"
|
||||
|
||||
########################### 通用端口延迟告警 ###########################
|
||||
- alert: Port_High_Latency
|
||||
expr: probe_duration_seconds > 0.5
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "主机{{$labels.instance}} {{$labels.service}}端口{{$labels.port}}连接延迟过高"
|
||||
description: "端口{{$labels.port}}服务{{$labels.service}}网络耗时超过500ms,网络存在拥塞"
|
||||
@@ -0,0 +1,133 @@
|
||||
groups:
|
||||
- name: freeipa_alerts
|
||||
rules:
|
||||
# 1. FreeIPA 节点宕机 / node_exporter 挂了
|
||||
- alert: FreeIPA_Node_Down
|
||||
expr: up{job=~"freeipa|ipa"} == 0
|
||||
for: 30s
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "FreeIPA 节点失联"
|
||||
description: "节点 {{ $labels.instance }} node-exporter 掉线超过30秒,主机不可达"
|
||||
|
||||
# 2. FreeIPA 核心综合服务异常(krb5kdc/httpd/ipa-custodia/pki-tomcatd)
|
||||
- alert: FreeIPA_Service_Down
|
||||
expr: sum by(instance,name) (node_systemd_unit_state{name=~"krb5kdc.service|httpd.service|ipa-custodia.service|pki-tomcatd@.*.service",state="active"}) != 1
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "FreeIPA 核心服务异常停止"
|
||||
description: "节点 {{ $labels.instance }} 服务 {{ $labels.name }} 未处于运行状态"
|
||||
|
||||
# 3. Kerberos KDC 认证服务异常
|
||||
- alert: FreeIPA_Kerberos_Down
|
||||
expr: sum by(instance,name) (node_systemd_unit_state{name="krb5kdc.service",state="active"}) != 1
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "Kerberos KDC 认证服务异常"
|
||||
description: "krb5kdc.service 停止,域用户无法完成Kerberos认证登录"
|
||||
|
||||
# 4. FreeIPA Web 管理界面 httpd 服务异常
|
||||
- alert: FreeIPA_HTTP_Down
|
||||
expr: sum by(instance,name) (node_systemd_unit_state{name="httpd.service",state="active"}) != 1
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "FreeIPA Web 管理界面服务异常"
|
||||
description: "httpd.service 已停止,无法访问IPA网页管理端"
|
||||
|
||||
# 5. PKI 证书签发服务 pki-tomcatd 异常
|
||||
- alert: FreeIPA_PKI_Tomcat_Down
|
||||
expr: sum by(instance,name) (node_systemd_unit_state{name=~"pki-tomcatd@.*.service",state="active"}) != 1
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "FreeIPA PKI 证书服务异常"
|
||||
description: "pki-tomcatd 证书签发服务停止,新证书无法申请下发"
|
||||
|
||||
# 6. 专属监控 dirsrv@ADVANTEST-COM.service 389 LDAP目录服务停机
|
||||
- alert: DirsrvServiceDown
|
||||
expr: sum by(instance,name) (node_systemd_unit_state{name="dirsrv@ADVANTEST-COM.service",state="active"}) != 1
|
||||
for: 30s
|
||||
labels:
|
||||
severity: critical
|
||||
service: dirsrv-ADVANTEST
|
||||
annotations:
|
||||
summary: "389 LDAP目录服务已停止"
|
||||
description: "主机{{ $labels.instance }} dirsrv@ADVANTEST-COM.service 非运行状态,LDAP查询/认证失效,请立即检查"
|
||||
|
||||
# 7. LDAP 端口 389/636 探测不通
|
||||
- alert: FreeIPA_LDAP_Port_Down
|
||||
expr: probe_tcp_port{target=~".*:389|.*:636"} == 0
|
||||
for: 30s
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "LDAP 端口连通性异常"
|
||||
description: "无法TCP连接 {{ $labels.target }},防火墙/服务异常"
|
||||
|
||||
# 8. Kerberos 88端口探测不通
|
||||
- alert: FreeIPA_KRB5_Port_Down
|
||||
expr: probe_tcp_port{target=~".*:88"} == 0
|
||||
for: 30s
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "Kerberos 88端口不通"
|
||||
description: "目标 {{ $labels.target }} TCP88端口无法访问,Kerberos认证阻断"
|
||||
|
||||
# 9. 证书剩余 <30天 预警
|
||||
- alert: FreeIPA_Certificate_Will_Expire
|
||||
expr: ipa_cert_expiry_hours < 720
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "FreeIPA 证书即将过期(剩余<30天)"
|
||||
description: "证书 {{ $labels.cert }} 有效期剩余不足30天,请规划续期"
|
||||
|
||||
# 10. 证书剩余 <7天 紧急告警
|
||||
- alert: FreeIPA_Certificate_Will_Expire_Critical
|
||||
expr: ipa_cert_expiry_hours < 168
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "FreeIPA 证书即将过期!紧急处理"
|
||||
description: "证书 {{ $labels.cert }} 有效期剩余不足7天,逾期会导致域认证全部失效"
|
||||
|
||||
# 11. 内存使用率超过85%
|
||||
- alert: FreeIPA_High_Memory_Usage
|
||||
expr: 100 - (node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100) > 85
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "FreeIPA主机内存使用率过高"
|
||||
description: "{{ $labels.instance }} 内存使用率 > 85%,存在OOM风险"
|
||||
|
||||
# 12. CPU使用率超过90%
|
||||
- alert: FreeIPA_High_CPU_Usage
|
||||
expr: 100 - (avg by(instance) (irate(node_cpu_seconds_total{mode="idle"}[2m])) * 100) > 90
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "FreeIPA主机CPU使用率过高"
|
||||
description: "{{ $labels.instance }} CPU持续占用高于90%,业务响应缓慢"
|
||||
|
||||
# 13. 根分区磁盘使用率超85%
|
||||
- alert: FreeIPA_High_Disk_Usage
|
||||
expr: 100 - (node_filesystem_avail_bytes{mountpoint="/"} / node_filesystem_size_bytes * 100) > 85
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "主机根分区磁盘使用率过高"
|
||||
description: "{{ $labels.instance }} / 分区磁盘占用 > 85%,请清理日志/扩容"
|
||||
@@ -0,0 +1,104 @@
|
||||
groups:
|
||||
- name: node_live
|
||||
rules:
|
||||
- alert: NodeInstanceDown
|
||||
expr: up{job=~".*node.*"} == 0
|
||||
for: 30s
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "服务器 {{ $labels.instance }} 监控失联"
|
||||
description: "节点 {{ $labels.instance }} node_exporter 离线,服务器宕机或进程挂掉"
|
||||
|
||||
- name: cpu_alert
|
||||
rules:
|
||||
# CPU 使用率超过 85% 告警
|
||||
- alert: CpuUsageHigh
|
||||
expr: 100 - (avg by(instance) (irate(node_cpu_seconds_total{mode="idle"}[1m])) * 100) > 85
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "服务器 {{ $labels.instance }} CPU 负载过高"
|
||||
description: "CPU 当前使用率:{{ $value }}%"
|
||||
|
||||
- alert: CpuUsageCritical
|
||||
expr: 100 - (avg by(instance) (irate(node_cpu_seconds_total{mode="idle"}[1m])) * 100) > 95
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "服务器 {{ $labels.instance }} CPU 严重过载"
|
||||
description: "CPU 当前使用率:{{ $value }}%"
|
||||
|
||||
- name: memory_alert
|
||||
rules:
|
||||
# 内存使用率 >85% 警告
|
||||
- alert: MemoryUsageHigh
|
||||
expr: (1 - (node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes) / node_memory_MemTotal_bytes) * 100 > 85
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "服务器 {{ $labels.instance }} 内存使用率过高"
|
||||
description: "内存当前使用率:{{ $value }}%"
|
||||
|
||||
- alert: MemoryUsageCritical
|
||||
expr: (1 - (node_memory_MemFree_bytes + node_memory_Buffers_bytes + node_memory_Cached_bytes) / node_memory_MemTotal_bytes) * 100 > 95
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "服务器 {{ $labels.instance }} 内存严重不足"
|
||||
description: "内存当前使用率:{{ $value }}%"
|
||||
|
||||
- name: disk_alert
|
||||
rules:
|
||||
# 专属 /serverhome 剩余小于100G 严重告警
|
||||
- alert: ServerhomeDiskLess100G
|
||||
expr: node_filesystem_avail_bytes{mountpoint="/serverhome"} < 100 * 1024 * 1024 * 1024
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
annotations:
|
||||
summary: "/serverhome 分区剩余空间不足100GB"
|
||||
description: "节点 {{ $labels.instance }} 挂载点 {{ $labels.mountpoint }} 剩余:{{ $value }} 字节"
|
||||
|
||||
# - alert: DiskAvailLess20G
|
||||
# expr: node_filesystem_avail_bytes{mountpoint!~"^/(sys|proc|dev|tmp|boot|boot/efi|run)($|/)"} < 20 * 1024 * 1024 * 1024
|
||||
# for: 1m
|
||||
# labels:
|
||||
# severity: warning
|
||||
# annotations:
|
||||
# summary: "挂载点 {{ $labels.mountpoint }} 剩余空间不足20GB"
|
||||
# description: "节点 {{ $labels.instance }} 剩余:{{ $value }} 字节"
|
||||
#
|
||||
# - alert: DiskUsageOver90
|
||||
# expr: (100 - (node_filesystem_avail_bytes{mountpoint!~"^/(sys|proc|dev|tmp|boot|boot/efi|run)($|/)"} / node_filesystem_size_bytes * 100)) > 90 and instance!="10.150.111.240:9100" and instance!="10.153.10.200:9100"
|
||||
# for: 2m
|
||||
# labels:
|
||||
# severity: critical
|
||||
# annotations:
|
||||
# summary: "挂载点 {{ $labels.mountpoint }} 磁盘使用率超过90%"
|
||||
# description: "节点 {{ $labels.instance }} 使用率:{{ $value }}%"
|
||||
- name: network_alert
|
||||
rules:
|
||||
# 网卡入流量 峰值过大
|
||||
- alert: NetworkInHigh
|
||||
expr: avg by(instance,device) (irate(node_network_receive_bytes_total{device!~"lo"}[1m])) / 1024 / 1024 > 80
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "服务器 {{ $labels.instance }} 网卡 {{ $labels.device }} 入流量过高"
|
||||
description: "当前入流量:{{ $value }} MB/s"
|
||||
|
||||
# 网卡出流量 峰值过大
|
||||
- alert: NetworkOutHigh
|
||||
expr: avg by(instance,device) (irate(node_network_transmit_bytes_total{device!~"lo"}[1m])) / 1024 / 1024 > 80
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "服务器 {{ $labels.instance }} 网卡 {{ $labels.device }} 出流量过高"
|
||||
description: "当前出流量:{{ $value }} MB/s"
|
||||
@@ -0,0 +1,30 @@
|
||||
groups:
|
||||
- name: tcp_port_down_rules
|
||||
rules:
|
||||
- alert: NIS Service Down
|
||||
expr: probe_success{port="111"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
port: "111"
|
||||
annotations:
|
||||
summary: "主机 {{$labels.instance}} RPC 111端口不可达"
|
||||
description: "111(rpcbind/NIS)端口断开,NIS/NFS依赖异常,实例:{{$labels.instance}},端口:111"
|
||||
|
||||
- alert: NFS Service Down
|
||||
expr: probe_success{port="2049"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
port: "2049"
|
||||
annotations:
|
||||
summary: "主机 {{$labels.instance}} NFS 2049端口不可达"
|
||||
description: "2049(NFS服务)端口断开,NFS挂载访问失败,实例:{{$labels.instance}},端口:2049"
|
||||
- alert: 389 Port Down
|
||||
expr: probe_success{port="389"} == 0
|
||||
for: 10s
|
||||
labels:
|
||||
severity: critical
|
||||
port: "389"
|
||||
annotations:
|
||||
summary: "主机 {{$labels.instance}} 认证 389端口不可达"
|
||||
@@ -0,0 +1,88 @@
|
||||
groups:
|
||||
- name: Linux-Base-Alert
|
||||
rules:
|
||||
|
||||
# 节点离线 = Failed
|
||||
- alert: Host_Down_Failed
|
||||
expr: up == 0
|
||||
for: 30s
|
||||
labels:
|
||||
severity: critical
|
||||
level: Failed
|
||||
annotations:
|
||||
summary: "❌ 节点离线 Failed"
|
||||
description: |
|
||||
主机:{{ $labels.instance }}
|
||||
任务:{{ $labels.job }}
|
||||
- alert: Host_Ping_Offline
|
||||
expr: probe_success{job=~"blackbox_icmp.*"} == 0
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
level: Down
|
||||
annotations:
|
||||
summary: "主机 Ping 失联 {{ $labels.instance }}"
|
||||
description: "主机网络不通,ICMP探测失败,大概率整机宕机或网段隔离"
|
||||
|
||||
- alert: Port_Down
|
||||
expr: probe_success{port!=""} == 0
|
||||
for: 1m
|
||||
labels:
|
||||
severity: critical
|
||||
level: Down
|
||||
annotations:
|
||||
summary: "端口 {{ $labels.port }} 通信异常 {{ $labels.instance }}"
|
||||
description: |
|
||||
业务:{{ $labels.business }}
|
||||
监控任务:{{ $labels.job }}
|
||||
故障地址:{{ $labels.instance }}
|
||||
异常端口:{{ $labels.port }}
|
||||
|
||||
# CPU 警告 Warning
|
||||
- alert: CPU_High_Warning
|
||||
expr: 100 - (avg by(instance) (irate(node_cpu_seconds_total{mode="idle"}[2m])) * 100) > 80
|
||||
for: 3m
|
||||
labels:
|
||||
severity: warning
|
||||
level: Warning
|
||||
annotations:
|
||||
summary: "⚠️ CPU 负载过高 Warning"
|
||||
description: "主机 {{ $labels.instance }} CPU 使用率:{{ printf \"%.2f\" $value }} %"
|
||||
|
||||
# 内存严重 Failed
|
||||
- alert: Mem_High_Failed
|
||||
expr: 100 - (node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100) > 90
|
||||
for: 3m
|
||||
labels:
|
||||
severity: critical
|
||||
level: Failed
|
||||
annotations:
|
||||
summary: "❌ 内存占用过高 Failed"
|
||||
description: "主机 {{ $labels.instance }} 内存使用率:{{ printf \"%.2f\" $value }} %"
|
||||
|
||||
# 磁盘警告 Warning
|
||||
- alert: Disk_High_Warning
|
||||
expr: 100 - (node_filesystem_avail_bytes{mountpoint="/"} / node_filesystem_size_bytes * 100) > 85
|
||||
for: 2m
|
||||
labels:
|
||||
severity: warning
|
||||
level: Warning
|
||||
annotations:
|
||||
summary: "⚠️ 磁盘空间不足 Warning"
|
||||
description: "分区 {{ $labels.mountpoint }} 使用率:{{ printf \"%.2f\" $value }} %"
|
||||
|
||||
- name: FreeIPA-Alert
|
||||
rules:
|
||||
# FreeIPA 核心服务异常 Failed
|
||||
- alert: FreeIPA_Service_Failed
|
||||
expr: node_systemd_unit_state{name=~"ipa|dirsrv|krb5kdc|httpd|pki-tomcatd|sssd",state="active"} == 0
|
||||
for: 60s
|
||||
labels:
|
||||
severity: critical
|
||||
level: Failed
|
||||
annotations:
|
||||
summary: "❌ FreeIPA 服务异常 Failed"
|
||||
description: |
|
||||
故障主机:{{ $labels.instance }}
|
||||
异常服务:{{ $labels.name }}
|
||||
影响:域认证、LDAP、登录挂载异常
|
||||
Reference in New Issue
Block a user