Add runtime state, auto-mute schedules, and backup retries
This commit is contained in:
@@ -13,6 +13,7 @@ HELP_PAGES = [
|
||||
"📊 *Статус* — общая загрузка.\n"
|
||||
"📋 */status_short* — кратко (load/RAM/диски).\n"
|
||||
"🩺 */health_short* — краткий health.\n"
|
||||
"🧪 */selftest* — health + restic snapshot probe.\n"
|
||||
"🔧 Разделы: Docker, Backup, Artifacts, System, OpenWrt.",
|
||||
),
|
||||
(
|
||||
@@ -25,13 +26,16 @@ HELP_PAGES = [
|
||||
"Шорткаты: `/alerts_list`, `/alerts_recent`, `/alerts_mute_load` (60м).\n"
|
||||
"Категории: load, disk, smart, ssl, docker, test.\n"
|
||||
"Quiet hours: `alerts.quiet_hours` для не‑критичных.\n"
|
||||
"Авто-мьют: `alerts.auto_mute` со слотами времени.\n"
|
||||
"Только красные load: `alerts.load_only_critical: true`.\n"
|
||||
"Валидатор конфига: `/config_check`.",
|
||||
),
|
||||
(
|
||||
"Backup",
|
||||
"💾 **Backup (restic)**\n\n"
|
||||
"Кнопки: Status, Last snapshot, Repo stats, Run backup, Queue, Restic check, Weekly report.\n"
|
||||
"Кнопки: Status, Last snapshot, Repo stats, Run backup, Queue, Restic check, Weekly report, History.\n"
|
||||
"History — хвост `/var/log/backup-auto.log`.\n"
|
||||
"Fail → кнопка Retry (backup/check).\n"
|
||||
"Run backup/Check учитывают `safety.dry_run`.\n"
|
||||
"После бэкапа приходит TL;DR + путь к логу `/var/log/backup-auto.log`.\n"
|
||||
"Queue → Details показывает отложенные задачи.",
|
||||
@@ -45,7 +49,7 @@ HELP_PAGES = [
|
||||
"Info: Disks/Security/Metrics/Hardware/SMART/OpenWrt.\n"
|
||||
"Ops: Updates/Upgrade/Reboot.\n"
|
||||
"Logs: Audit/Incidents/Security/Integrations/Processes.\n"
|
||||
"OpenWrt: `/openwrt`, `/openwrt_wan`, `/openwrt_clients`.",
|
||||
"OpenWrt: `/openwrt`, `/openwrt_wan`, `/openwrt_clients`, `/openwrt_leases`.",
|
||||
),
|
||||
(
|
||||
"Admin",
|
||||
|
||||
Reference in New Issue
Block a user