Files
nexus/wiki/concepts/合成监测.md
weishen 5789476c23 Batch ingest: Multi-Agent Team / DevOps Maturity / 一语点醒梦中人 / NodeWarden
Sources:
- Agent-usecases-multi-Agent-Team.md
- DevOps-Maturity-Model-From-Traditional-IT-to-Advanced-DevOps.md
- AI-一语点醒梦中人.md
- Home-Office-NodeWarden-把-Bitwarden-搬上-Cloudflare-Workers彻底告别服务器.md

Entities: Trebuh, Cloudflare
Concepts: DevOps成熟度模型, 共享内存模式, 空性智慧, 绝处逢生
2026-04-15 18:05:17 +08:00

36 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: 合成监测
type: concept
tags: [monitoring, uptime, availability]
sources: []
last_updated: 2026-04-15
---
## 定义
Synthetic Monitoring通过主动发起探测请求HTTP/TCP/DNS/TLS模拟用户行为检测服务可用性和性能。与 Real User MonitoringRUM相对。
## 核心指标
- **probe_success**探测是否成功0/1
- **probe_duration_seconds**:探测响应时间
- **probe_http_status_code**HTTP 响应码
- **probe_ssl_earliest_cert_expiry**TLS 证书到期时间戳
## 工具对比
| 工具 | 类型 | 特点 |
|-----|------|-----|
| [[blackbox_exporter]] | Prometheus 生态 | 细粒度 PromQL 指标,适合内嵌 Grafana |
| [[Uptime Kuma]] | 独立开源 | 友好 UI适合外网监控 |
## 在 Wiki 中的角色
- [[家庭监控方案 Prometheus + Grafana + Node Exporter + cAdvisor + Blackbox]] 中通过 blackbox_exporter 实现内外网 HTTP/TCP/TLS 探测
- 监控目标https://pq2435887bh.vicp.fun、http://shenwei-nas.vip.cpolar.cn、https://transmission.vip.cpolar.cn
## 告警规则
```promql
# 站点不可达连续2分钟
probe_success == 0 for 2m
# TLS证书14天内到期
probe_ssl_earliest_cert_expiry - time() < 86400 * 14
```