概述:本文为记录监控web网站进行探活告警记录 一、Blackbox_exporter 应用场景 1、HTTP 测试定义 Request Header 信息判断 Http status / Http Respones Header / Http Body 内容 2、TCP 测试业务组件端口 ...
一 安装blackbox exporter 地址:https: github.com prometheus blackbox exporter 创建configmap blackbox.yaml 创建 创建blackcbox exporter blackbox exporter.yaml 创建 查看 测试 二 Blacakbox exporter应用 使用prometheus addition 功 ...
2020-11-20 14:12 0 1846 推荐指数:
概述:本文为记录监控web网站进行探活告警记录 一、Blackbox_exporter 应用场景 1、HTTP 测试定义 Request Header 信息判断 Http status / Http Respones Header / Http Body 内容 2、TCP 测试业务组件端口 ...
环境:centos7、prometheus2.24、grafana 1、下载插件blackbox_exporter https://github.com/prometheus/blackbox_exporter/releases wget https://github.com ...
Prometheus黑盒监控 本文原文介绍出处:运维老兵Alex 什么是黑盒探针? “黑盒监控”:它指在程序外部通过探针的方法模拟访问,获取程序的响应指标来监控程序状态,如请求处理时间、状态码等。在实际生产环境中, 往往会将两种监控方式混合使用,以实现对应用的全方位监控 ...
blackbox配置文件 blackbox-exporter apiVersion: v1kind: Servicemetadata: annotations: prometheus/scrape: "true" labels: name ...
Blackbox_exporter blackbox_exporter 是 Prometheus 拿来对 http/https、tcp、icmp、dns、进行的黑盒监控工具 什么是黑盒监控?以下介绍是抄 zhangguanzhang 的 prometheus的黑盒监控 常规 ...
端口监控配置 prometheus.yml - job_name: "prot_status" metrics_path: /probe params: module: [tcp_connect] file_sd_configs: - files ...
URL监控配置 prometheus.yml - job_name: "http_status" metrics_path: /probe params: module: [http_2xx] # Look for a HTTP 200 response. ...
一 ICMP监控配置 1.1 修改Prometheus Server配置文件 root@prometheus-01:~# cat /usr/local/prometheus/prometheus.yml #ICMP 检测 - job_name: 'ping_status ...