| 服务 | Prometheus Blackbox Exporter |
|---|---|
| 协议 | TCP/HTTP(9115) |
| 用途 | 黑盒拨测:网站/端口/域名可用性 |
| 安全等级 | 仅监控网段 |
探测配置在 blackbox.yml 的 modules 里;/probe?target=...&module=http_2xx 是手动测试的标准姿势。
手动拨测
手动拨测
curl -s "http://localhost:9115/probe?target=https://example.com&module=http_2xx" | grep -E 'probe_success|probe_duration'