mirror of
https://gitverse.ru/kpa39l/monitoring.git
synced 2026-09-29 09:55:09 +00:00
feat(openspec): vesti-alerts — 6 алертов на компоненты VESTI (web/publisher/tunnel/db/stale); OpenSpec change
This commit is contained in:
+44
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user