docs: тестовый агент ubabuba; gitignore deploy helpers
This commit is contained in:
@@ -28,6 +28,7 @@ Thumbs.db
|
|||||||
# One-off remote deploy helper (never commit credentials)
|
# One-off remote deploy helper (never commit credentials)
|
||||||
deploy/_remote_sac_deploy_once.py
|
deploy/_remote_sac_deploy_once.py
|
||||||
deploy/_remote_sac_verify.py
|
deploy/_remote_sac_verify.py
|
||||||
|
deploy/_ssh_test_*.py
|
||||||
|
|
||||||
# Runtime / deploy secrets
|
# Runtime / deploy secrets
|
||||||
/config/local.yaml
|
/config/local.yaml
|
||||||
|
|||||||
@@ -34,9 +34,23 @@ sudo /opt/sac-deploy.sh
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## Тестовый агент (ubabuba, 10.10.36.9)
|
||||||
|
|
||||||
|
| Параметр | Значение |
|
||||||
|
|----------|----------|
|
||||||
|
| Хост | `ubabuba` / `10.10.36.9` |
|
||||||
|
| Репозиторий | `git.kalinamall.ru/PapaTramp/ssh-monitor` (`main`, есть `sac-client.sh`) |
|
||||||
|
| `UseSAC` | `exclusive` (без Telegram на тесте) |
|
||||||
|
| Сервис | `ssh-monitor.service` — **active** |
|
||||||
|
| `--check-sac` | OK (health + ingest `agent.test` 202) |
|
||||||
|
|
||||||
|
Переключить на `dual` после настройки Telegram в `/etc/ssh-monitor.conf`.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## Следующие шаги
|
## Следующие шаги
|
||||||
|
|
||||||
1. **1A** — ssh-monitor на тестовом Linux: `UseSAC=dual`, `SAC_API_KEY`, `--check-sac`
|
1. **1A** — маппинг событий через `notify_or_sac`; при необходимости `UseSAC=dual` на тесте
|
||||||
2. **1C** — Problems, Telegram из SAC, dashboard
|
2. **1C** — Problems, Telegram из SAC, dashboard
|
||||||
3. **1A** — маппинг всех типов событий через `notify_or_sac`
|
3. **1A** — маппинг всех типов событий через `notify_or_sac`
|
||||||
4. RDP-login-monitor — аналог UseSAC
|
4. RDP-login-monitor — аналог UseSAC
|
||||||
|
|||||||
Reference in New Issue
Block a user