init prometheus监控配置文件
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user