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