mirror of
https://gitverse.ru/kpa39l/monitoring.git
synced 2026-09-29 18:05:08 +00:00
chore(openspec): archive 2026-09-13-vesti-alerts → specs/vesti-alerts
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Tasks
|
||||
|
||||
## 1. Алерты в alerts.yml
|
||||
- [x] 1.1 В `/opt/monitoring/alerts.yml` добавить группу `vesti`:
|
||||
- VestiWebDown (vesti_web_up == 0, for 2m, critical)
|
||||
- VestiPublisherDown (vesti_publisher_health == 0, for 2m, critical)
|
||||
- VestiPublisherContainerDown (vesti_publisher_docker == 0, for 2m, critical)
|
||||
- VestiTunnelDown (vesti_telegram_tunnel == 0, for 2m, critical)
|
||||
- VestiDbDown (vesti_db_ok == 0, for 2m, critical)
|
||||
- VestiDbStale (time() - vesti_db_last_run_ts > 1800, for 5m, warning)
|
||||
- [x] 1.2 Проверка: `docker exec prometheus promtool check config /etc/prometheus/prometheus.yml` → OK (13 rules)
|
||||
- [x] 1.3 Рестарт: `docker restart prometheus`
|
||||
- [x] 1.4 Проверка: группа vesti в /api/v1/rules, 6 правил, state=inactive (норма)
|
||||
|
||||
## 2. Документация
|
||||
- [x] 2.1 Обновить `/opt/monitoring/README.md` (секция VESTI: алерты, метрики)
|
||||
- [x] 2.2 Добавить запись в `/opt/monitoring/EXPERIENCE.md` (22-24: textfile, alerting, OpenSpec)
|
||||
|
||||
## 3. Git и OpenSpec
|
||||
- [ ] 3.1 `git add` (поимённо) + commit + push в gitverse (истина), gitea подтянет mirror
|
||||
- [ ] 3.2 `openspec validate` + `openspec archive --yes`
|
||||
- [ ] 3.3 Обновить STATUS.md/WALKTHROUGH.md
|
||||
Reference in New Issue
Block a user