feat(openspec): vesti-alerts — 6 алертов на компоненты VESTI (web/publisher/tunnel/db/stale); OpenSpec change

This commit is contained in:
kpa39l
2026-09-13 15:34:47 +00:00
parent df1ebed76d
commit 62a4f1a0db
7 changed files with 342 additions and 1 deletions
+44
View File
@@ -54,3 +54,47 @@ groups:
severity: critical
annotations:
summary: Vinograd WAN (Ростелеком) {{ $labels.instance }} is down or unreachable
- name: vesti
rules:
- alert: VestiWebDown
expr: vesti_web_up{component="vesti"} == 0
for: 2m
labels:
severity: critical
annotations:
summary: VESTI web (:8400, systemd) is down
- alert: VestiPublisherDown
expr: vesti_publisher_health{component="vesti"} == 0
for: 2m
labels:
severity: critical
annotations:
summary: VESTI publisher (:8410) health check failed
- alert: VestiPublisherContainerDown
expr: vesti_publisher_docker{component="vesti"} == 0
for: 2m
labels:
severity: critical
annotations:
summary: VESTI publisher Docker container is not Up
- alert: VestiTunnelDown
expr: vesti_telegram_tunnel{component="vesti"} == 0
for: 2m
labels:
severity: critical
annotations:
summary: VESTI Telegram SOCKS5 tunnel (:1080) is down
- alert: VestiDbDown
expr: vesti_db_ok{component="vesti"} == 0
for: 2m
labels:
severity: critical
annotations:
summary: VESTI SQLite database vesti.db is unavailable
- alert: VestiDbStale
expr: time() - vesti_db_last_run_ts{component="vesti"} > 1800
for: 5m
labels:
severity: warning
annotations:
summary: VESTI crawler did not run for more than 30 minutes