环境:centos7、prometheus2.24、grafana 1、下载插件blackbox_exporter https://github.com/prometheus/blackbox_exporter/releases wget https://github.com ...
Blackbox exporter blackbox exporter 是 Prometheus 拿来对 http https tcp icmp dns 进行的黑盒监控工具 什么是黑盒监控 以下介绍是抄 zhangguanzhang 的 prometheus的黑盒监控 常规的各种exporter都是和需要监控的机器一起安装的,如果需要监控一些tcp端口和七层应用层的状态呢,这个时候就需要黑盒监控了 ...
2020-04-01 17:41 0 4812 推荐指数:
环境:centos7、prometheus2.24、grafana 1、下载插件blackbox_exporter https://github.com/prometheus/blackbox_exporter/releases wget https://github.com ...
一、blackbox_exporter应用场景 HTTP 测试: 定义 Request Header 信息、判断 Http status / Http Respones Header / Http Body 内容TCP 测试: 业务组件端口状态监听、应用层协议定义与监听ICMP 测试: 主机 ...
: prometheus-blackbox-exporter namespace: monitoring data: ...
一、安装blackbox-exporter 地址:https://github.com/prometheus/blackbox_exporter 创建configmap blackbox.yaml 创建 创建blackcbox-exporter ...
一、blackbox_exporter应用场景 HTTP 测试: 定义 Request Header 信息、判断 Http status / Http Respones Header / Http Body 内容TCP 测试: 业务组件端口状态监听、应用层协议定义与监听ICMP 测试: 主机 ...
端口监控配置 prometheus.yml - job_name: "prot_status" metrics_path: /probe params: module: [tcp_connect] file_sd_configs: - files ...
blackbox配置文件 blackbox-exporter apiVersion: v1kind: Servicemetadata: annotations: prometheus/scrape: "true" labels: name ...
URL监控配置 prometheus.yml - job_name: "http_status" metrics_path: /probe params: module: [http_2xx] # Look for a HTTP 200 response. ...