docs: add 172.16.8.150 monitoring server and KSP-Steel/monitoring to knowledge base
- Added server-150 root credentials and Vault lookup examples - Documented Zabbix 7.0, Grafana, Prometheus, Loki, Portainer and Alert Bridge - Added monitoring ports, targets and Synology NFS backup workflow - Updated topology map and disaster recovery runbooks
This commit is contained in:
@@ -84,3 +84,36 @@ docker compose down
|
||||
docker compose up -d --build
|
||||
```
|
||||
Проверка работоспособности: `curl -I http://127.0.0.1:8090/`
|
||||
|
||||
---
|
||||
|
||||
## 5. Стек мониторинга и телеметрии (`172.16.8.150`)
|
||||
|
||||
### Сценарий А: Перезапуск компонентов
|
||||
На сервере подготовлен скрипт управления:
|
||||
```bash
|
||||
ssh root@172.16.8.150 "/opt/monitoring-repo/scripts/restart_services.sh all"
|
||||
|
||||
# Либо по отдельности:
|
||||
/opt/monitoring-repo/scripts/restart_services.sh zabbix
|
||||
/opt/monitoring-repo/scripts/restart_services.sh prometheus
|
||||
/opt/monitoring-repo/scripts/restart_services.sh grafana
|
||||
/opt/monitoring-repo/scripts/restart_services.sh bridge
|
||||
/opt/monitoring-repo/scripts/restart_services.sh loki
|
||||
```
|
||||
|
||||
### Сценарий Б: Восстановление из бэкапов на Synology
|
||||
Все бэкапы сохраняются на NAS Synology в `/mnt/synology_infosec/backups/monitoring/<TIMESTAMP>/`.
|
||||
1. **Восстановление БД Zabbix (PostgreSQL)**:
|
||||
```bash
|
||||
gunzip < /mnt/synology_infosec/backups/monitoring/<DATE>/zabbix_db_<DATE>.sql.gz \
|
||||
| docker exec -i zabbix-postgres psql -U zabbix zabbix
|
||||
```
|
||||
2. **Восстановление конфигураций (Prometheus, Grafana, Alert Bridge, Loki)**:
|
||||
```bash
|
||||
tar -xzf /mnt/synology_infosec/backups/monitoring/<DATE>/monitoring_configs_<DATE>.tar.gz -C /opt/
|
||||
```
|
||||
3. **Ручной запуск бэкапа**:
|
||||
```bash
|
||||
/opt/monitoring-repo/scripts/backup_monitoring.sh
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user