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


边栏推荐
- Jupiter notebook reported an error: notebook validation failed: non unique cell ID '2a4xx6' detected
- 转:高效做正确的事
- 1205 Lock wait timeout exceeded; Try restarting transaction processing
- 租户问题。
- [C language brush leetcode] 146. LRU cache (m)
- Turn: do the right thing efficiently
- What are the functions of cloud notes, and how do browsers add cloud note plug-ins
- Navica tool imports remote MySQL into local MySQL database
- JS add random pixel noise background to the page
- LeetCode_动态规划_中等_264.丑数 II
猜你喜欢

1. Mx6ul core module uses serial can and buzzer test (XI)

Adruino 基础实验学习(一)

Ggplot2 learning summary

力扣148:排序链表

SQL手工盲注、报错注入

Characteristics and determination of neuraminidase from Clostridium perfringens in Worthington

【2019】【论文笔记】基于超材料可调谐THz宽频吸收——

我来图书馆小程序签到流程分析

Postman reported JSON serialization error

Why does the debugger display the wrong function
随机推荐
How to install opengauss manually (non om mode)
vite 本地运行首次进入页面加载慢问题
【2021】【论文笔记】红外及THz下的细胞膜生物效应——效应是现象,作用是机理——THz对医学的好处
(Dynamic Programming Series) sword finger offer 48. the longest substring without repeated characters
I.MX6UL核心模块使用连载-触摸屏校准 (九)
17_ Form Data
国标GB28181协议视频平台EasyGBS消息弹框模式优化
【2021】【论文笔记】6G技术愿景——OTFS调制技术
Bitmap这个“内存刺客”你要小心~
数仓:银行业数仓的分层架构实践
AttributeError: ‘Document‘ object has no attribute ‘pageCount‘
【云原生】4.1 DevOps基础与实战
I.MX6UL核心模块使用连载-eMMC读写测试 (四)
Business Intelligence BI full analysis, explore the essence and development trend of Bi
DQN Pytorch示例
19_请求表单与文件
Web3.0 blog DAPP development practice [2022]
Acwing 379. hide and seek problem solution (minimum path non repeating point coverage)
js给页面添加随机像素噪声背景
Ti AM335X工控模块使用beaglebone(bbb)的Debian系统