当前位置:网站首页>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


边栏推荐
- I.MX6UL核心模块使用连载-触摸屏校准 (九)
- 2. Login - verification code function and saving login status
- I.MX6UL核心模块使用连载-Iot-6ULX核心模块简要介绍 (一)
- LeetCode302场周赛第三题--裁剪数字后查询第 K 小的数字
- Product thinking drives the construction of R & D management tools
- Worthington papain - production of glycopeptides from purified proteoglycans (attached Literature)
- 1205 Lock wait timeout exceeded; Try restarting transaction processing
- SQLyog数据导入导出图文教程
- CD from grabbing the track to building a streaming media server -- a case study of "moon in the hometown of sleep"
- Alibaba cloud redis development specification
猜你喜欢
![Web3.0 blog DAPP development practice [2022]](/img/18/f386246ff6ffbd0a42df57c3cd9170.png)
Web3.0 blog DAPP development practice [2022]

Obsidian mobile PC segment synchronization

I.MX6UL核心模块使用连载-查看系统信息 (二)

Navica工具把远程MySQL导入到本地MySQL数据库

I.MX6UL核心模块使用连载-WIFI测试 (八)

我来图书馆小程序一键签到和一键抢位置工具

Quick start of adding, deleting, modifying and checking business

(Dynamic Programming Series) sword finger offer 48. the longest substring without repeated characters

mysql 事务隔离级别

MySQL transaction isolation level
随机推荐
[xxl-job] xxl-job learning
JS add random pixel noise background to the page
1. Mx6ul core module use serial RTC test (XII)
增删改查业务的快速上手
[pyqt5 packaged as exe]
I.MX6UL核心模块使用连载-CAN、蜂鸣器测试 (十一)
These practical security browser plug-ins improve your efficiency
I.MX6UL核心模块使用连载-Iot-6ULX核心模块简要介绍 (一)
1. Mx6ul core module serial use - touch screen calibration (IX)
I.MX6UL核心模块使用连载-查看系统信息 (二)
QT program beautification of the use of style sheets, QT uses pictures as the background and transparency of controls, QT custom button styles
Worthington nuclease and Micrococcus related research and determination scheme
Monitoring of debezium synchronization debezium
How to choose cloud note tool? What can I do with cloud notes?
[2019] [paper notes] tunable THz broadband absorption based on metamaterials——
(Dynamic Programming Series) sword finger offer 48. the longest substring without repeated characters
1. Mx6ul core module use serial TF card read / write test (V)
(CVPR 2019) GSPN: Generative Shape Proposal Network for 3D Instance Segmentation in Point Cloud
【2019】【论文笔记】基于超材料可调谐THz宽频吸收——
[C language brush leetcode] 814. Binary tree pruning (m)