環境: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. ...