当前位置:网站首页>Prometheus+blackbox exporter+grafana monitoring server port and URL address
Prometheus+blackbox exporter+grafana monitoring server port and URL address
2022-07-26 02:15:00 【Work hard, work hard】
prometheus Configuration file modification
- job_name: "PORT_check_198"
metrics_path: /probe
params:
module: [tcp_connect]
file_sd_configs:
- refresh_interval: 10s
files:
- "/data/prometheus/blackbox_exporter/198_port_check.yml"
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: guojing:9115
- job_name: "PORT_check_253"
metrics_path: /probe
params:
module: [tcp_connect]
file_sd_configs:
- refresh_interval: 10s
files:
- "/data/prometheus/blackbox_exporter/253_port_check.yml"
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: luodiyezhu:9115
- job_name: "PORT_check_199"
metrics_path: /probe
params:
module: [tcp_connect]
file_sd_configs:
- refresh_interval: 10s
files:
- "/data/prometheus/blackbox_exporter/199_port_check.yml"
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: zunshang:9115
- job_name: "PORT_check_118"
metrics_path: /probe
params:
module: [tcp_connect]
file_sd_configs:
- refresh_interval: 10s
files:
- "/data/prometheus/blackbox_exporter/118_port_check.yml"
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: luodiyebei:9115
- job_name: "PORT_check_122"
metrics_path: /probe
params:
module: [tcp_connect]
file_sd_configs:
- refresh_interval: 10s
files:
- "/data/prometheus/blackbox_exporter/122_port_check.yml"
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: dingdan:9115
- job_name: "PORT_check_234"
metrics_path: /probe
params:
module: [tcp_connect]
file_sd_configs:
- refresh_interval: 10s
files:
- "/data/prometheus/blackbox_exporter/234_port_check.yml"
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: guanggao:9115
- job_name: "HTTP_check"
metrics_path: /probe
params:
module: [http_2xx]
file_sd_configs:
- refresh_interval: 10s
files:
- "/data/prometheus/blackbox_exporter/199_http_check.yml"
relabel_configs:
- source_labels: [__address__]
target_label: __param_target
- source_labels: [__param_target]
target_label: instance
- target_label: __address__
replacement: guojing:9115
The port configuration of monitoring bottlers is as follows
[[email protected] blackbox_exporter]# cat 199_port_check.yml
- targets:
- zunshang:6379
- zunshang:35050
- zunshang:80
- zunshang:8083
- zunshang:8081
- 127.0.0.1:8004
- 127.0.0.1:8005
labels:
company: 'feitian'
env: 'pro'
project: ' Bottle merchant '
[[email protected] blackbox_exporter]# cat 199_http_check.yml
- targets:
- https://zsdev.jinzunft.com
- https://zs.jinzunft.com
labels:
project: ' Bottle merchant '
company: 'web'
Deploy blackbox-exporter Check my other articles , This process is not exhaustive .
grafana Exhibition


边栏推荐
- Wechat applet decryption and unpacking to obtain source code tutorial
- 2022.7.25-----leetcode.919
- These practical security browser plug-ins improve your efficiency
- 【2021】【论文笔记】红外及THz下的细胞膜生物效应——效应是现象,作用是机理——THz对医学的好处
- I.MX6UL核心模块使用连载-eMMC读写测试 (四)
- 18_请求文件
- The slow loading of the first entry page of vite local operation
- 数仓:银行业数仓的分层架构实践
- Business Intelligence BI full analysis, explore the essence and development trend of Bi
- [xxl-job] xxl-job learning
猜你喜欢

CD from grabbing the track to building a streaming media server -- a case study of "moon in the hometown of sleep"

增删改查业务的快速上手

【2020】【论文笔记】磁控溅射法生长Bi2Te3/CoFeB双层异质结——
![[2019] [paper notes] tunable THz broadband absorption based on metamaterials——](/img/ae/bbebba30d0d6f58d65531cff48b5e9.png)
[2019] [paper notes] tunable THz broadband absorption based on metamaterials——
![[cloud native] 4.1 Devops foundation and Practice](/img/09/5423540d0a4a11bc7162c5ab343a4d.png)
[cloud native] 4.1 Devops foundation and Practice

I.MX6UL核心模块使用连载-以太网测试 (七)

Characteristics and determination of neuraminidase from Clostridium perfringens in Worthington

租户问题。

Be careful about bitmap, the "memory Assassin"~

力扣148:排序链表
随机推荐
Video game quiz? I think it's useless. It's better to do these well!
Basic usage of set, map, DOM classlist in ES6
Implementation of Ti am335x industrial control module network and file system nfs
These practical security browser plug-ins improve your efficiency
1205 Lock wait timeout exceeded; try restarting transaction处理
Design and driver transplantation of matrix keyboard circuit of Ti am335x industrial control module
【2020】【论文笔记】磁控溅射法生长Bi2Te3/CoFeB双层异质结——
我来图书馆小程序一键签到和一键抢位置工具
【云原生】4.1 DevOps基础与实战
I.MX6UL核心模块使用连载-eMMC读写测试 (四)
Characteristics and determination of neuraminidase from Clostridium perfringens in Worthington
A MCU event driven C framework
Make and makefile summary I
19_请求表单与文件
1205 Lock wait timeout exceeded; Try restarting transaction processing
Web3.0 blog DAPP development practice [2022]
转:高效做正确的事
Phoenix中常用shell操作
[2021] [paper notes] 6G technology vision - otfs modulation technology
How to choose cloud note tool? What can I do with cloud notes?