自动补测、推送审计/退避重试、监控指标与监控页面
This commit is contained in:
1 parent
7445dcc51a
commit
24afb9e1dc
9 files changed
+831
-23
No files matched your search
@@ -327,6 +327,12 @@ cd ../.. && python3 -m graylog_ops.geo \
|
||||
[查看详情](http://179.253.234.124:12139/s/301b.../#/ip/112.32.1.211)
|
||||
```
|
||||
|
||||
### 自动补测 / 推送审计 / 监控
|
||||
|
||||
- **启动自动补测**:启动时读取上次成功检测时间,缺口超过 30 分钟自动后台回扫(可用 `--backfill-threshold`、`--backfill-max-gap`、`--no-auto-backfill` 控制)
|
||||
- **推送审计**:`notifications` 表记录每个 IP 的推送成功/失败、错误信息;失败按 60s→120s→…→1h 指数退避重试;连续失败 3 次会记录告警(可选 `NOTIFY_ALERT_URL` 发到独立 webhook)
|
||||
- **监控**:页面右上角「监控」入口,展示 Graylog 状态、检测轮次/耗时、行为分析、推送成功率、名单和补测记录;`/metrics` 输出 Prometheus 格式,可直接被任意监控系统抓取
|
||||
|
||||
### 状态指示灯
|
||||
|
||||
页面右上角有一个圆点,表示后端与 Graylog 的连接状态:
|
||||
|
||||
Reference in new issue
Block a user